add git prune alias
This commit is contained in:
parent
85e3372a25
commit
df8d8c69fb
1 changed files with 14 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue