Changeset 7232


Ignore:
Timestamp:
2007-05-14T20:19:07+02:00 (9 years ago)
Author:
florian
Message:

Prefer real executables when available (#1296)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/etc/profile

    r7163 r7232  
    66export PS1='\u@\h:\w\$ ' 
    77 
    8 alias more=less 
    9 [ -x /usr/bin/vim ] || alias vim=vi 
     8[ -x /bin/more ] || alias more=less 
     9[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi 
    1010 
    1111[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc 
    1212 
    13 arp() { cat /proc/net/arp; } 
     13[ -x /sbin/arp ] || arp() { cat /proc/net/arp; } 
    1414[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } 
Note: See TracChangeset for help on using the changeset viewer.