New cuting edges aliases

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
Gaetan Semet 2013-06-12 15:47:03 +02:00
commit c71471ce98

View file

@ -54,10 +54,21 @@ alias unexport='unset'
alias whereami=display_info
alias week='date +%V'
alias hexdump='hexdump -C'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Use Gits colored diff when available
hash git &>/dev/null
if [ $? -eq 0 ]; then
function diff() {
git diff --no-index --color-words "$@"
}
fi
# zsh is able to auto-do some kungfoo
# depends on the SUFFIX :)
if [ ${ZSH_VERSION//\./} -ge 420 ]; then