;;
esac
- OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\h \W "
+ if [ -r "$HOME"/admin/prog/bash_prompt ]; then
+ . "$HOME"/admin/prog/bash_prompt
+ OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\${HOSTNAME::5}:\`short_curdir\` \\$"
+ else
+ OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\h:\W \\$"
+ fi
. "$ENV"
else
- OPS1="${debian_chroot:+($debian_chroot)}`/usr/bin/whoami`@`/bin/hostname -s` "
+ OPS1="${debian_chroot:+($debian_chroot)}`/usr/bin/whoami`@`/bin/hostname -s` >"
fi
- #PROMPT_DIRTRIM=2
- export OPS1 # PROMPT_DIRTRIM
+ export OPS1
### biff controls new mail notification
#biff n