shell: nvc: pass through arguments to $EDITOR

This commit is contained in:
PowerUser64 2022-08-19 13:53:02 -07:00
parent a7b8f06195
commit 932f7764b5

View file

@ -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