aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc.d/prompt.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index 47a01962..84cdf584 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -34,7 +34,7 @@ prompt() {
# Add > signs at the front of the prompt to show the current shell
# level
local i
- for ((i = 0; i < SHLVL; i++)) ; do
+ for ((i = 1; i < SHLVL; i++)) ; do
PS1='>'$PS1
done