blob: 1910156b5af959bc5dd459b7aa7c6cd2dc3263bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
alias ll="ls -l"
alias catn="cat -n"
alias egrep="egrep --color"
alias grep="egrep"
alias c="clear"
alias vi="vim"
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'
# 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"
|