aboutsummaryrefslogtreecommitdiff
path: root/ksh/kshrc.d/prompt.ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-17 19:56:12 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-17 19:56:12 +1300
commit864fe021ebdc5ad93f3c9acaa2d999e27f1cb83d (patch)
treeb9a1d0b924b2264728209a69a4f114cc2da0430e /ksh/kshrc.d/prompt.ksh
parentSecond try at compatible ksh test (diff)
downloaddotfiles-864fe021ebdc5ad93f3c9acaa2d999e27f1cb83d.tar.gz
dotfiles-864fe021ebdc5ad93f3c9acaa2d999e27f1cb83d.zip
Improve accuracy of comment
Diffstat (limited to 'ksh/kshrc.d/prompt.ksh')
-rw-r--r--ksh/kshrc.d/prompt.ksh3
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