From: Felix Fietkau Date: Mon, 4 Jul 2005 20:19:06 +0000 (+0000) Subject: only set alias less=more when less is not installed X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4c3d7c35cdcdaccdb3a13850bda5217fd66e2313;p=openwrt%2Fsvn-archive%2Farchive.git only set alias less=more when less is not installed SVN-Revision: 1341 --- diff --git a/openwrt/target/default/target_skeleton/etc/profile b/openwrt/target/default/target_skeleton/etc/profile index b63dc8ee32..1d98ae3402 100644 --- a/openwrt/target/default/target_skeleton/etc/profile +++ b/openwrt/target/default/target_skeleton/etc/profile @@ -4,7 +4,7 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin export PS1='\u@\h:\w\$ ' -alias less=more +[ -x /usr/bin/less ] || alias less=more alias vim=vi arp() { cat /proc/net/arp; }