1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Add more useful aliases

This commit is contained in:
Joe Groocock 2016-04-16 18:00:03 +01:00
parent 8f6f3f9526
commit 36e0a398ed

View File

@ -27,6 +27,8 @@ alias -g C="| wc -l"
alias -g S="| sort" alias -g S="| sort"
alias -g count="| wc -l" alias -g count="| wc -l"
alias -g NE="2> /dev/null" alias -g NE="2> /dev/null"
alias -g NUL="&> /dev/null"
alias -g BG="&;disown"
alias svi=sudoedit alias svi=sudoedit
@ -44,7 +46,8 @@ alias -s pdf=evince
alias -s zip="unzip -l" alias -s zip="unzip -l"
alias -s rar="unrar l" alias -s rar="unrar l"
alias -s tar="tar tf" alias -s tar="tar tf"
alias -s tar.gz="echo " alias -s tar.gz=echo
alias -s jar="java -jar"
# Git Aliases # Git Aliases
@ -69,6 +72,7 @@ alias gp="git push"
alias gpf="gp --force" alias gpf="gp --force"
alias gl="git pull --rebase" alias gl="git pull --rebase"
alias gd="git diff" alias gd="git diff"
alias gds="git diff --staged"
alias glg="git log --stat --color" alias glg="git log --stat --color"
alias glog="git log --oneline --decorate --color --graph" alias glog="git log --oneline --decorate --color --graph"