]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.profile: Add `$SHLVL` to simple `$PS1` prompt
[dotfiles.git] / .profile
index 20ba5a1aef033a63a6051670938bfb7a3e5a7f16..5fdca50d1fd5f09f9df350fe67769baac82e0d9f 100644 (file)
--- a/.profile
+++ b/.profile
@@ -180,7 +180,7 @@ 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"