]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
Feat(bash-prompt): Remove `[]`
[dotfiles.git] / .profile
index 20ba5a1aef033a63a6051670938bfb7a3e5a7f16..93756db412a213909724bf2161e1fc8cef555c53 100644 (file)
--- a/.profile
+++ b/.profile
@@ -180,13 +180,13 @@ if [ -t 0 ] ; then
          set_prompts
          unset set_prompts
       else
-         OPS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \\$"
+         OPS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \$SHLVL\\$ "
       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
 
    ### biff controls new mail notification