shinit 475 B

123456789101112
  1. [ -x /bin/more ] || [ -x /usr/bin/more ] || alias more=less
  2. [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
  3. alias ll='ls -alF --color=auto'
  4. [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
  5. [ -x /usr/bin/arp -o -x /sbin/arp ] || arp() { cat /proc/net/arp; }
  6. [ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
  7. [ -n "$KSH_VERSION" -o \! -s "$HOME/.shinit" ] || . "$HOME/.shinit"
  8. [ -z "$KSH_VERSION" -o \! -s "$HOME/.mkshrc" ] || . "$HOME/.mkshrc"