diff --git a/templates/zshrc-linux.zsh b/templates/zshrc-linux.zsh index 4fb6b37fb..dd1afe86e 100644 --- a/templates/zshrc-linux.zsh +++ b/templates/zshrc-linux.zsh @@ -49,6 +49,12 @@ if [ -e $HOME/.cabal/bin ]; then export PATH="$HOME/.cabal/bin:$PATH"; fi alias ta='tmux attach -t' alias tl='tmux list-session' alias ts='tmux new-session' +# Git aliases +alias gita='git add -A' +alias gits='git status' +alias gitl='git l' +alias gitw='git who' +alias gitt='git tags' source $ZSH/oh-my-zsh.sh unsetopt correctall diff --git a/templates/zshrc-mac.zsh b/templates/zshrc-mac.zsh index a34c6ba99..1bda5e370 100644 --- a/templates/zshrc-mac.zsh +++ b/templates/zshrc-mac.zsh @@ -48,6 +48,12 @@ if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi alias ta='tmux attach -t' alias tl='tmux list-session' alias ts='tmux new-session' +# Git aliases +alias gita='git add -A' +alias gits='git status' +alias gitl='git l' +alias gitw='git who' +alias gitt='git tags' # Compilation flags # export ARCHFLAGS="-arch x86_64"