summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-10 21:54:19 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-10 21:54:19 +0000
commit92a8d8214c5f70a47ad7e52c82634c1b206fe67b (patch)
treece1a3eb380644560accd5fbc5cfff13bba874a34
parent9d8600b2e9ac94fb9b01eb9af32be5b5152471aa (diff)
check if vim exist, report bye datenmaulwurf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3611 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 e3abe6967f..c42ee4a895 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 $*; }