NetBSD/etc/shrc
apb dc5994b41f /etc/shrc is used by both sh and ksh, but ksh doesn't support
se -o tabcomplete, so test before using it.  Problem reported
by Pavel Cahyna, and fix tested by him.
2006-10-07 22:50:51 +00:00

11 lines
259 B
Plaintext

ll(){ ls -l ${1+"$@"}; }
case "$-" in *i*)
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