xref: /minix/etc/shrc (revision 00b67f09)
1#       $NetBSD: shrc,v 1.7 2010/12/27 03:38:52 christos 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	# hostname is set to the ip address by default on MINIX, so
12	# don't truncate on the first dot.
13	#PS1="${HOST%%.*}$PS1"
14	PS1="${HOST}$PS1"
15	set -o emacs
16	# This file is used by shells that might not support
17	# set -o tabcomplete, so check before trying to use it.
18	( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete
19	;;
20esac
21