wip
This commit is contained in:
parent
e5d107b8cf
commit
f7fe47a15e
1 changed files with 3 additions and 3 deletions
6
.zshrc
6
.zshrc
|
@ -450,13 +450,13 @@ __alias__() {
|
||||||
if command_exists nvim; then
|
if command_exists nvim; then
|
||||||
alias cnvim="command nvim"
|
alias cnvim="command nvim"
|
||||||
alias nvim="$(choose_nvim)"
|
alias nvim="$(choose_nvim)"
|
||||||
|
nv() {
|
||||||
|
NVIM_APPNAME="$1" command nvim "${@:2}"
|
||||||
|
}
|
||||||
|
|
||||||
if [ -d "$HOME/.config/nvdev" ]; then
|
if [ -d "$HOME/.config/nvdev" ]; then
|
||||||
alias nvdev='NVIM_APPNAME="nvdev" command nvim'
|
alias nvdev='NVIM_APPNAME="nvdev" command nvim'
|
||||||
alias neodev='NVIM_APPNAME="nvdev" neovide --fork'
|
alias neodev='NVIM_APPNAME="nvdev" neovide --fork'
|
||||||
nv() {
|
|
||||||
NVIM_APPNAME="$1" command nvim "${@:2}"
|
|
||||||
}
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue