Add some git aliases

This commit is contained in:
Jonny Barnes 2017-05-25 14:17:21 +01:00
parent b791dfacf3
commit 1396b04eca

3
zshrc
View file

@ -126,6 +126,9 @@ alias bubc="brew upgrade && brew cleanup"
alias bubo="brew update && brew outdated" alias bubo="brew update && brew outdated"
alias brewcurl="/usr/local/opt/curl/bin/curl --cacert /usr/local/etc/openssl/cert.pem" alias brewcurl="/usr/local/opt/curl/bin/curl --cacert /usr/local/etc/openssl/cert.pem"
alias brewssl="/usr/local/opt/openssl/bin/openssl" alias brewssl="/usr/local/opt/openssl/bin/openssl"
alias ga="git add"
alias gf="git fetch --all; git fetch --tags"
alias gs="git status"
alias irc="ssh jmb -t '. ~/.zshrc; tmux attach -t irc'" alias irc="ssh jmb -t '. ~/.zshrc; tmux attach -t irc'"
test "$platform" = 'linux' && alias ls="ls -F --color=always" test "$platform" = 'linux' && alias ls="ls -F --color=always"
test "$platform" = 'osx' && alias ls="ls -FG" test "$platform" = 'osx' && alias ls="ls -FG"