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