From 864fe021ebdc5ad93f3c9acaa2d999e27f1cb83d Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 17 Dec 2016 19:56:12 +1300 Subject: Improve accuracy of comment --- ksh/kshrc.d/prompt.ksh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ksh/kshrc.d') 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 -- cgit v1.2.3