From fba9d2e65fda4b8cac7e0768db7006bf6a6397bb Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 3 Dec 2021 19:07:23 +0100 Subject: [PATCH] chore(zsh): add more aliases --- zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zshrc b/zshrc index 62f2c91..b61c0d6 100644 --- a/zshrc +++ b/zshrc @@ -97,6 +97,10 @@ export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -50'" # }}} # {{{ *** *** Aliases *** *** +# ZSH +alias zshconfig="vim $HOME/.zshrc" +alias reload="source $HOME/.zshrc" + # Folders alias ...='cd ../..' alias ..='cd ..' @@ -146,6 +150,8 @@ alias gwp='git whatchanged -p' alias lg='lazygit' # Vim +alias v='vim' + if type nvim > /dev/null 2>&1; then alias vim='nvim' fi