summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default')
-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 $*; }