Annotation of src/etc/shrc, Revision 1.7
1.7 ! christos 1: # $NetBSD: shrc,v 1.6 2010/05/03 17:15:58 hubertf Exp $
1.6 hubertf 2: #
3: # System-wide .shrc file for sh(1).
4:
1.1 pavel 5: ll(){ ls -l ${1+"$@"}; }
6:
7: case "$-" in *i*)
1.5 ad 8: if /bin/test -z "${HOST}"; then
1.7 ! christos 9: HOST="$(hostname)"
1.5 ad 10: fi
1.1 pavel 11: PS1="${HOST%%.*}$PS1"
12: set -o emacs
1.4 apb 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
1.1 pavel 16: ;;
1.2 taca 17: esac
CVSweb <webmaster@jp.NetBSD.org>