From 932f7764b5787ad038d016bc26051a61a265cc71 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Fri, 19 Aug 2022 13:53:02 -0700 Subject: [PATCH] shell: nvc: pass through arguments to $EDITOR --- .config/shell/bin/nvc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/shell/bin/nvc b/.config/shell/bin/nvc index d6869fb..920241a 100755 --- a/.config/shell/bin/nvc +++ b/.config/shell/bin/nvc @@ -1,6 +1,6 @@ #!/bin/sh # Purpose: edit nvim configuration while being cd'd into the directory that # most of the files live so they can easily be :e'd -# Usage: nvc +# Usage: nvc [$EDITOR options] cd ~/.config/nvim/lua/blake \ - && nvim ../../init.lua + && $EDITOR "$@" ../../init.lua