2012-08-06 13:39:40 +02:00
|
|
|
# remember more commands
|
|
|
|
|
HISTSIZE=10000
|
|
|
|
|
|
|
|
|
|
# add timestamps to history entries
|
2012-08-06 16:42:33 +02:00
|
|
|
HISTTIMEFORMAT="%d.%m.%Y %H:%M %Z # "
|
2012-08-06 13:39:40 +02:00
|
|
|
|
|
|
|
|
# aliases
|
|
|
|
|
alias grep='grep --color'
|
2013-11-11 16:21:19 +01:00
|
|
|
|
2012-08-06 16:38:54 +02:00
|
|
|
alias gdp='git diff --color HEAD^ HEAD'
|
2012-08-06 16:24:52 +02:00
|
|
|
alias gl='git log --pretty=format:"%Cgreen%h %Creset %s %Cgreenby %an (%ar) %Cred %d" --graph'
|
2012-08-06 16:42:33 +02:00
|
|
|
alias gdc='git diff --color'
|
2013-11-11 16:21:19 +01:00
|
|
|
|
2013-04-05 14:54:41 +02:00
|
|
|
alias ssh='export TERM=xterm && ssh'
|
2013-11-11 16:21:19 +01:00
|
|
|
|
|
|
|
|
alias cal='ncal -b -M'
|
|
|
|
|
|
|
|
|
|
alias hexdump='hexdump -c'
|
|
|
|
|
|
|
|
|
|
alias l='ls -lhatr'
|
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|
|
|
2013-11-11 16:22:40 +01:00
|
|
|
alias pwgen='pwgen -B -s'
|
2014-01-13 21:19:25 +01:00
|
|
|
|
|
|
|
|
# open multiple files in tabs
|
|
|
|
|
alias vim='vim -p'
|