1 1.6 hubertf # $NetBSD: shrc,v 1.6 2010/05/03 17:15:58 hubertf Exp $ 2 1.6 hubertf # 3 1.6 hubertf # System-wide .shrc file for sh(1). 4 1.6 hubertf 5 1.1 pavel ll(){ ls -l ${1+"$@"}; } 6 1.1 pavel 7 1.1 pavel case "$-" in *i*) 8 1.5 ad if /bin/test -z "${HOST}"; then 9 1.5 ad HOST=`hostname` 10 1.5 ad fi 11 1.1 pavel PS1="${HOST%%.*}$PS1" 12 1.1 pavel set -o emacs 13 1.4 apb # This file is used by shells that might not support 14 1.4 apb # set -o tabcomplete, so check before trying to use it. 15 1.4 apb ( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete 16 1.1 pavel ;; 17 1.2 taca esac 18