addet nvchad config alias

This commit is contained in:
pika 2024-12-29 16:59:16 +01:00
parent eb298bcd09
commit 875eedff31

12
.zshrc
View file

@ -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