if [ -r "$HOME"/admin/prog/short_curdir ]; then
. "$HOME"/admin/prog/short_curdir
- OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\h \`short_curdir\` \\$"
+ OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\${HOSTNAME::5} \`short_curdir\` \\$"
else
OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\h \W \\$"
fi
if test -n "$BASH_VERSION"; then
MC_SAVE_OPS1="$OPS1"
if [ "`type -t short_curdir`" = function ]; then
- OPS1="\u@\h \`short_curdir\` \\$"
+ OPS1="\u@\${HOSTNAME::5} \`short_curdir\` \\$"
else
OPS1="\u@\h \W \\$"
fi