diff --git a/.zshrc b/.zshrc index 715dcff..8917f46 100644 --- a/.zshrc +++ b/.zshrc @@ -450,13 +450,13 @@ __alias__() { if command_exists nvim; then alias cnvim="command nvim" alias nvim="$(choose_nvim)" + nv() { + NVIM_APPNAME="$1" command nvim "${@:2}" + } if [ -d "$HOME/.config/nvdev" ]; then alias nvdev='NVIM_APPNAME="nvdev" command nvim' alias neodev='NVIM_APPNAME="nvdev" neovide --fork' - nv() { - NVIM_APPNAME="$1" command nvim "${@:2}" - } fi fi