diff --git a/zshrc b/zshrc index 1cb30b4..d4adfb7 100644 --- a/zshrc +++ b/zshrc @@ -56,15 +56,19 @@ setopt PROMPT_SUBST # Comfortable aliases alias ..='cd ..' alias cp='cp -v' +alias l='ls -F -h' +alias la='ls -F -h -a' +alias mv='mv -v' +alias view='vim -R' + +# Comfortable git aliases alias g='git' alias gc='g commit' alias gd='g diff' alias glog='g log --graph --oneline' alias gst='g status --short --branch' -alias l='ls -F -h' -alias la='ls -F -h -a' -alias mv='mv -v' -alias view='vim -R' +# update all repositories within the current directory +alias update_repositories='find . -type d -name .git -execdir git pull \;' # Suppresses line numbers in less alias less='less --line-numbers'