git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added choice command to wrap zenity or xmessage.
[profile.git]
/
.profile.d
/
aliases.bashrc
diff --git
a/.profile.d/aliases.bashrc
b/.profile.d/aliases.bashrc
index
bb244a7
..
3b3897b
100644
(file)
--- a/
.profile.d/aliases.bashrc
+++ b/
.profile.d/aliases.bashrc
@@
-1,9
+1,9
@@
# $Id$
# $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'
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 vim='vim +syn\ on'
alias vi='vim'
fi