2016-07-12 16:39:02 +02:00
|
|
|
alias ll="ls -l"
|
|
|
|
|
|
|
|
alias catn="cat -n"
|
|
|
|
|
|
|
|
alias egrep="egrep --color"
|
|
|
|
|
|
|
|
alias grep="egrep"
|
|
|
|
|
|
|
|
alias c="clear"
|
|
|
|
|
2016-12-16 17:00:08 +01:00
|
|
|
alias vim="nvim"
|
2016-07-12 16:39:02 +02:00
|
|
|
|
|
|
|
alias find="find -E"
|
|
|
|
|
|
|
|
alias dir='find . -maxdepth 1 -type d -regex "\.\/[^.].+"'
|
|
|
|
|
|
|
|
# if pygmentize isn't installed run...
|
|
|
|
# sudo pip install pygments
|
|
|
|
# colorizes syntax of files
|
|
|
|
alias ccat="pygmentize -g"
|
|
|
|
|
|
|
|
# view the Unix directory stack as maintained through
|
|
|
|
# pushd and popd commands
|
|
|
|
alias wdirs='dirs | tr " " "\n" | sort -r'
|
|
|
|
|
2016-12-02 00:29:58 +01:00
|
|
|
# Pretty-print git history
|
|
|
|
alias glp="git log --graph --pretty=format:'%Cred%h%Creset -%Cblue %an %Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
|
|
|
|
|
2017-01-23 04:46:57 +01:00
|
|
|
# Convenient alias for git status
|
|
|
|
alias gst="git status"
|
|
|
|
|