X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Faliases.bashrc;h=d8a72f31a0a559a9a98d3c9ce999b765034e5c56;hb=29b6eb2f01b81c4997bd8b6bdc46edbeac8e9794;hp=f42a02e75d11ff2a318020d189b0d91d1274daf0;hpb=7ff1edff9e3b22a1fd1f7798a634538d7ed94c54;p=profile.git diff --git a/.profile.d/aliases.bashrc b/.profile.d/aliases.bashrc index f42a02e..d8a72f3 100644 --- a/.profile.d/aliases.bashrc +++ b/.profile.d/aliases.bashrc @@ -1,3 +1,17 @@ +# $Id$ +grep -V 2>/dev/null | grep GNU >/dev/null && alias grep='grep --color=auto' +alias knh='kill_known_host' alias l='ls' alias ls='/bin/ls $LS_OPTIONS' -alias vim='vim +syn\ on' +if which vim 2>/dev/null | grep ^/ >/dev/null; then + alias vim='vim +syn\ on' + alias vi='vim' +fi +if which krenew 2>/dev/null | grep ^/ >/dev/null; then + alias kscreen='krenew --' +else + alias kscreen='' +fi +alias debug='valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=5 --verbose --time-stamp=yes --track-fds=yes' +alias session='bigscreen -rx -S session || kscreen bigscreen -S session' +alias svnfind='find . -type f ! -path "*/.svn/*"'