1*7c6ec9aeShubertf# $NetBSD: shrc,v 1.6 2010/05/03 17:15:58 hubertf Exp $ 2*7c6ec9aeShubertf# 3*7c6ec9aeShubertf# System-wide .shrc file for sh(1). 4*7c6ec9aeShubertf 5d8b49bb7Spavelll(){ ls -l ${1+"$@"}; } 6d8b49bb7Spavel 7d8b49bb7Spavelcase "$-" in *i*) 81fafc795Sad if /bin/test -z "${HOST}"; then 91fafc795Sad HOST=`hostname` 101fafc795Sad fi 11d8b49bb7Spavel PS1="${HOST%%.*}$PS1" 12d8b49bb7Spavel set -o emacs 13dc5994b4Sapb # This file is used by shells that might not support 14dc5994b4Sapb # set -o tabcomplete, so check before trying to use it. 15dc5994b4Sapb ( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete 16d8b49bb7Spavel ;; 17d8b49bb7Spavelesac 18