]> git.phdru.name Git - dotfiles.git/blobdiff - .shellrc
Refactor(.shellrc): Remove `$OPS1`, only use `$PS1`
[dotfiles.git] / .shellrc
index 62da7b79080928d80ddefddea6636d4f8b243fb4..12688b78531edd6eadc21fcd71de5dcfe5909f03 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -50,12 +50,10 @@ if test -n "$BASH_VERSION"; then
       set_prompts
       unset set_prompts
    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; }