diff --git a/dots/.config/zsh/config/profile/profile/aliases.zsh b/dots/.config/zsh/config/profile/profile/aliases.zsh index c9dab666..1f93eaad 100644 --- a/dots/.config/zsh/config/profile/profile/aliases.zsh +++ b/dots/.config/zsh/config/profile/profile/aliases.zsh @@ -10,6 +10,11 @@ fi ### Git ### if command -v git >/dev/null 2>&1; then + + if command -v nvim >/dev/null 2>&1; then + alias g="nvim -c 'Neogit'" + fi + alias gc="git commit" alias gcm="git commit -m" alias ga="git add"