Home | History | Annotate | Line # | Download | only in etc
      1  1.7  christos #       $NetBSD: shrc,v 1.7 2010/12/27 03:38:52 christos Exp $
      2  1.6   hubertf #
      3  1.6   hubertf # System-wide .shrc file for sh(1).
      4  1.6   hubertf 
      5  1.1     pavel ll(){ ls -l ${1+"$@"}; }
      6  1.1     pavel 
      7  1.1     pavel case "$-" in *i*)
      8  1.5        ad 	if /bin/test -z "${HOST}"; then
      9  1.7  christos 		HOST="$(hostname)"
     10  1.5        ad 	fi
     11  1.1     pavel 	PS1="${HOST%%.*}$PS1"
     12  1.1     pavel 	set -o emacs
     13  1.4       apb 	# This file is used by shells that might not support
     14  1.4       apb 	# set -o tabcomplete, so check before trying to use it.
     15  1.4       apb 	( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete
     16  1.1     pavel 	;;
     17  1.2      taca esac
     18