if test -n "$BASH_VERSION"; then
if [ -r "$HOME"/admin/prog/bash_prompt ]; then
. "$HOME"/admin/prog/bash_prompt
- set_prompts
- unset set_prompts
+ set_prompt
+ unset set_prompt
else
- OPS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \$SHLVL\\$ "
+ PS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \$SHLVL\\$ "
fi
fi
-PS1="$OPS1"
-
# clear screen and history, logout
chlo() { clear; cd; >$HISTFILE; unset HISTFILE; history -c; logout || exit; }
}
+[ "`type -t mc`" = alias ] && unalias mc
mc() {
if [ -n "$SLOWTERM" ]; then
MC_SLOW="--slow"