From 7f5de61a8743da1a7b65a5fafebe8c4717daa289 Mon Sep 17 00:00:00 2001 From: wbx Date: Mon, 10 Apr 2006 21:54:19 +0000 Subject: check if vim exist, report bye datenmaulwurf git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3611 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files') 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 $*; } -- cgit v1.2.3