From ec6c71cc3007d6c54bc52c9d265bb8fc6938b7fa Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 10 Apr 2006 21:54:19 +0000 Subject: [PATCH] check if vim exist, report bye datenmaulwurf SVN-Revision: 3611 --- openwrt/package/base-files/default/etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/base-files/default/etc/profile b/openwrt/package/base-files/default/etc/profile index e3abe6967ff..c42ee4a895a 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 $*; } -- 2.30.2