functions() { typeset -f "$@"; }
j() { jobs; }
+if [ -r "$HOME"/admin/prog/bash_prompt ]; then
+ . "$HOME"/admin/prog/bash_prompt
+ set_prompt
+ unset set_prompt
+else
+ PS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \$SHLVL\\$ "
+fi
+
if [ -z "$BASH_COMPLETION_COMPAT_DIR" ]; then
if [ -d /usr/share/bash-completion -a -r /usr/share/bash-completion/bash_completion ]; then
_BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions
j() { jobs; }
fi
-if test -n "$BASH_VERSION"; then
- if [ -r "$HOME"/admin/prog/bash_prompt ]; then
- . "$HOME"/admin/prog/bash_prompt
- set_prompt
- unset set_prompt
- else
- PS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \$SHLVL\\$ "
- fi
-fi
-
# clear screen and history, logout
chlo() { clear; cd; >$HISTFILE; unset HISTFILE; history -c; logout || exit; }