1 1.1 pavel ll(){ ls -l ${1+"$@"}; } 2 1.1 pavel 3 1.1 pavel case "$-" in *i*) 4 1.5 ad if /bin/test -z "${HOST}"; then 5 1.5 ad HOST=`hostname` 6 1.5 ad fi 7 1.1 pavel PS1="${HOST%%.*}$PS1" 8 1.1 pavel set -o emacs 9 1.4 apb # This file is used by shells that might not support 10 1.4 apb # set -o tabcomplete, so check before trying to use it. 11 1.4 apb ( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete 12 1.1 pavel ;; 13 1.2 taca esac 14