shell: nvc: pass through arguments to $EDITOR
This commit is contained in:
parent
a7b8f06195
commit
932f7764b5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue