diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-17 19:56:12 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-17 19:56:12 +1300 |
commit | 864fe021ebdc5ad93f3c9acaa2d999e27f1cb83d (patch) | |
tree | b9a1d0b924b2264728209a69a4f114cc2da0430e /ksh/kshrc.d | |
parent | Second try at compatible ksh test (diff) | |
download | dotfiles-864fe021ebdc5ad93f3c9acaa2d999e27f1cb83d.tar.gz dotfiles-864fe021ebdc5ad93f3c9acaa2d999e27f1cb83d.zip |
Improve accuracy of comment
Diffstat (limited to 'ksh/kshrc.d')
-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 |