;;
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
#
# fi
# fi
-
-# If not running interactively, don't do anything
-case $- in
- *i*) ;;
- *) return ;;
-esac
-
-# Stop if non-interactive shell
-[ -z "$PS1" ] && return
-
-if [ -n "$SSH_CONNECTION" -a -z "$STY" -a -t 0 -a -x /usr/bin/screen ]
-then
- exec /usr/bin/screen -xRR -S default
-fi