new bashrc, aliases
This commit is contained in:
parent
1e72e3e353
commit
e2fa2397f0
3 changed files with 41 additions and 0 deletions
20
.bash_aliases
Normal file
20
.bash_aliases
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
alias grep='grep --color'
|
||||
alias l='ls -lhatr'
|
||||
alias ls='ls --color=auto'
|
||||
|
||||
# Git stuff
|
||||
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'
|
||||
|
||||
# export standard terminal for remote connections
|
||||
#alias ssh='export TERM=xterm && ssh'
|
||||
|
||||
alias cal='ncal -b -M'
|
||||
|
||||
alias hexdump='hexdump -c'
|
||||
|
||||
alias pwgen='pwgen -B -s'
|
||||
|
||||
# open multiple files in tabs
|
||||
alias vim='vim -p'
|
||||
Loading…
Add table
Add a link
Reference in a new issue