git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
507f38d
)
Cope with missing vim(1).
author
lace
<>
Sun, 7 Jan 2007 03:13:12 +0000
(
03:13
+0000)
committer
lace
<>
Sun, 7 Jan 2007 03:13:12 +0000
(
03:13
+0000)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
c8c6a35
..
608b6f2
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-126,7
+126,11
@@
alias ls='ls -bF'
alias l='ls -lbF'
alias maple="ssh -t vega.fjfi.cvut.cz maple"
#alias cc='cc -I/home/short/include'
-alias vi='vim'
+if which vim &>/dev/null;then
+ alias vi='vim'
+else
+ echo >&2 'WARNING: No vim(1).'
+fi
alias grepb='grep --binary-files=binary'
alias L='lynx'
alias chown='chown --no-dereference'