add git prune alias

This commit is contained in:
Oliver Ladner 2018-12-03 13:33:45 +01:00
commit df8d8c69fb

View file

@ -1,3 +1,12 @@
theos=$(uname -s)
case $theos in
"Darwin" )
alias ls='ls -G';;
"Linux" )
alias ls='ls --color=auto';;
esac
alias grep='grep --color'
alias l='ls -lhatr'
#alias ls='ls --color=auto'
@ -8,19 +17,18 @@ alias gdp='git diff --color HEAD^ HEAD'
alias gl='git log --pretty=format:"%Cgreen%h %Creset %s %Cgreenby %an (%ar) %Cred %d" --graph'
alias gdc='git diff --color'
alias gst='git status'
alias grp='git remote prune origin'
# export standard terminal for remote connections
#alias ssh='export TERM=xterm && ssh'
if [ $(which ncal >/dev/null 2>&1) ]; then
alias cal='ncal -b -M -3'
else
alias cal='cal -m -3'
fi
alias hexdump='hexdump -c'
alias pwgen='pwgen -B -s'
# open multiple files in tabs
alias vim='vim -p'
if [ $theos == "Darwin" ]; then
alias flushdns='sudo killall -HUP mDNSResponder'
fi