addet nvchad config alias
This commit is contained in:
parent
eb298bcd09
commit
875eedff31
1 changed files with 8 additions and 4 deletions
12
.zshrc
12
.zshrc
|
@ -446,11 +446,15 @@ _coding_() {
|
||||||
# ─< neovide, the best frontend for any neovim-config >───────────────────────────────────
|
# ─< neovide, the best frontend for any neovim-config >───────────────────────────────────
|
||||||
if command_exists nvim; then
|
if command_exists nvim; then
|
||||||
if command_exists neovide; then
|
if command_exists neovide; then
|
||||||
# if [ -n "$TMUX" ]; then
|
if [ -n "$TTY" ]; then
|
||||||
# alias nvim="command nvim"
|
alias nvim="command nvim"
|
||||||
# else
|
else
|
||||||
alias nvim="neovide --fork"
|
alias nvim="neovide --fork"
|
||||||
# fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$HOME/.config/nvchad" ]; then
|
||||||
|
alias nvchad='NVIM_APPNAME="nvchad" nvim'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue