summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2006-04-10 21:54:19 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2006-04-10 21:54:19 +0000
commitec6c71cc3007d6c54bc52c9d265bb8fc6938b7fa (patch)
tree7143b0c5c018f8ff1ef07f67fa56253e6ebf6a93 /openwrt
parent7268da8bbd7a25def6b9c811538ca7827e509dd4 (diff)
downloadmtk-20170518-ec6c71cc3007d6c54bc52c9d265bb8fc6938b7fa.zip
mtk-20170518-ec6c71cc3007d6c54bc52c9d265bb8fc6938b7fa.tar.gz
mtk-20170518-ec6c71cc3007d6c54bc52c9d265bb8fc6938b7fa.tar.bz2
check if vim exist, report bye datenmaulwurf
SVN-Revision: 3611
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/base-files/default/etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/profile b/openwrt/package/base-files/default/etc/profile
index e3abe69..c42ee4a 100644
--- a/openwrt/package/base-files/default/etc/profile
+++ b/openwrt/package/base-files/default/etc/profile
@@ -5,7 +5,7 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PS1='\u@\h:\w\$ '
[ -x /usr/bin/less ] || alias less=more
-alias vim=vi
+[ -x /usr/bin/vim ] || alias vim=vi
arp() { cat /proc/net/arp; }
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }