summaryrefslogtreecommitdiff
path: root/package/base-files/default
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
commit7f5de61a8743da1a7b65a5fafebe8c4717daa289 (patch)
treefc98d94d9a5038814aace41010caf19bd228e884 /package/base-files/default
parentd4f51a53b1f5b5525324ba49746e6b3cb7a3409a (diff)
check if vim exist, report bye datenmaulwurf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3611 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default')
-rw-r--r--package/base-files/default/etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/profile b/package/base-files/default/etc/profile
index e3abe6967f..c42ee4a895 100644
--- a/package/base-files/default/etc/profile
+++ b/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 $*; }