From 14cb6c405d35b8dda7e1b8c26376a90a61642cd9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 24 Aug 2020 23:02:49 +0300 Subject: [PATCH] .profile: Add `$SHLVL` to simple `$PS1` prompt --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index 20ba5a1..5fdca50 100644 --- 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" -- 2.39.5