shrc revision 1.6
11.6Shubertf# $NetBSD: shrc,v 1.6 2010/05/03 17:15:58 hubertf Exp $ 21.6Shubertf# 31.6Shubertf# System-wide .shrc file for sh(1). 41.6Shubertf 51.1Spavelll(){ ls -l ${1+"$@"}; } 61.1Spavel 71.1Spavelcase "$-" in *i*) 81.5Sad if /bin/test -z "${HOST}"; then 91.5Sad HOST=`hostname` 101.5Sad fi 111.1Spavel PS1="${HOST%%.*}$PS1" 121.1Spavel set -o emacs 131.4Sapb # This file is used by shells that might not support 141.4Sapb # set -o tabcomplete, so check before trying to use it. 151.4Sapb ( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete 161.1Spavel ;; 171.2Stacaesac 18