diff options
-rw-r--r-- | ksh/kshrc.d/prompt.ksh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh index a5b872ce..942868a5 100644 --- a/ksh/kshrc.d/prompt.ksh +++ b/ksh/kshrc.d/prompt.ksh @@ -37,7 +37,8 @@ prompt() { # Add > signs at the front of the prompt to show the current shell # level, taking tmux sessions into account, assuming this version - # of ksh does SHLVL (I think only ksh93 does it + # of ksh does SHLVL; I think only ksh93t+ does it from what I can + # tell typeset shlvl ((shlvl = SHLVL - TMUX_SHLVL)) while ((shlvl > 1)); do |