fixed nv command!!!!!
This commit is contained in:
parent
4c6a312761
commit
242df2f7e5
1 changed files with 7 additions and 1 deletions
|
@ -99,7 +99,13 @@ if command_exists nvim; then
|
|||
alias cnvim="command nvim"
|
||||
alias nvim="$(choose_nvim)"
|
||||
nv() {
|
||||
NVIM_APPNAME="$1" command nvim "${@:-2}"
|
||||
appname="$1"
|
||||
shift
|
||||
if [ "$#" -eq 0 ]; then
|
||||
NVIM_APPNAME="$appname" command nvim
|
||||
else
|
||||
NVIM_APPNAME="$appname" command nvim "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -d "$HOME/.config/nvdev" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue