summaryrefslogtreecommitdiff
path: root/etc/shrc
blob: 378e57d3b3c33bcb0f894338d279b50daf4d06d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ll(){ ls -l ${1+"$@"}; }

case "$-" in *i*)
	if /bin/test -z "${HOST}"; then
		HOST=`hostname`
	fi
	PS1="${HOST%%.*}$PS1"
	set -o emacs
	# This file is used by shells that might not support
	# set -o tabcomplete, so check before trying to use it.
	( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete
	;;
esac