aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2006-04-10 21:54:19 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2006-04-10 21:54:19 +0000
commitb551a8cc105c4fd1bd383e5b95729555386dd86b (patch)
treefc98d94d9a5038814aace41010caf19bd228e884
parentb3f2dd17510c42cd7e03885067076a0254ecca5a (diff)
downloadupstream-b551a8cc105c4fd1bd383e5b95729555386dd86b.tar.gz
upstream-b551a8cc105c4fd1bd383e5b95729555386dd86b.tar.bz2
upstream-b551a8cc105c4fd1bd383e5b95729555386dd86b.zip
check if vim exist, report bye datenmaulwurf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3611 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 $*; }