X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Faliases.bashrc;h=49d6ab9ca09f3a9ed3f05585a190dba8558123af;hb=17fe5f9a625b6468f08359204c1b7254a70f1dd9;hp=bb244a7e67b5c36336af880ccb49fa73e9b91430;hpb=673430dabda9c4f18b6fe94e5e4be5e28d488a68;p=profile.git diff --git a/.profile.d/aliases.bashrc b/.profile.d/aliases.bashrc index bb244a7..49d6ab9 100644 --- a/.profile.d/aliases.bashrc +++ b/.profile.d/aliases.bashrc @@ -1,11 +1,12 @@ # $Id$ -grep -V | grep GNU &>/dev/null && alias grep='grep --color=auto' +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' -if which vim &>/dev/null; then +if which vim 2>/dev/null | grep ^/ >/dev/null; then alias vim='vim +syn\ on' alias vi='vim' fi alias debug='valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=5 --verbose --time-stamp=yes --track-fds=yes' +alias session='screen -rx -S session || screen -S session' alias svnfind='find . -type f ! -path "*/.svn/*"'