Return to shrc CVS log | Up to [cvs.NetBSD.org] / src / etc |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.6, 2010/05/03 17:15:58 | version 1.7, 2010/12/27 03:38:52 | ||
---|---|---|---|
|
|
||
case "$-" in *i*) | case "$-" in *i*) | ||
if /bin/test -z "${HOST}"; then | if /bin/test -z "${HOST}"; then | ||
HOST=`hostname` | HOST="$(hostname)" | ||
fi | fi | ||
PS1="${HOST%%.*}$PS1" | PS1="${HOST%%.*}$PS1" | ||
set -o emacs | set -o emacs |