about summary refs log tree commit diff
path: root/Doc/Zsh/prompt.yo
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-11-02 12:35:32 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-11-02 12:35:32 +0000
commit19d2273cb7bdde0b13a8858ec8c4f264a2bb11b4 (patch)
tree3b66e84c8560e38fe7d13c2fb22b73decc43ded5 /Doc/Zsh/prompt.yo
parentf3f81f0837e9c10ec9fd0808e8640ab8a23b7ba8 (diff)
downloadzsh-19d2273cb7bdde0b13a8858ec8c4f264a2bb11b4.tar.gz
zsh-19d2273cb7bdde0b13a8858ec8c4f264a2bb11b4.tar.xz
zsh-19d2273cb7bdde0b13a8858ec8c4f264a2bb11b4.zip
16198: add %j prompt expansion and j test character for no. of jobs in prompt
Diffstat (limited to 'Doc/Zsh/prompt.yo')
-rw-r--r--Doc/Zsh/prompt.yo4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo
index a62418277..cb4609240 100644
--- a/Doc/Zsh/prompt.yo
+++ b/Doc/Zsh/prompt.yo
@@ -111,6 +111,9 @@ The line number currently being executed in the script, sourced file, or
 shell function given by tt(%N).  This is most useful for debugging as part
 of tt($PS4).
 )
+item(tt(%j))(
+The number of jobs.
+)
 item(tt(%L))(
 The current value of tt($SHLVL).
 )
@@ -222,6 +225,7 @@ least var(n) elements.)
 sitem(tt(D))(True if the month is equal to var(n) (January = 0).)
 sitem(tt(d))(True if the day of the month is equal to var(n).)
 sitem(tt(g))(True if the effective gid of the current process is var(n).)
+sitem(tt(j))(True if the number of jobs is at least var(n).)
 sitem(tt(L))(True if the tt(SHLVL) parameter is at least var(n).)
 sitem(tt(l))(True if at least var(n) characters have already been
 printed on the current line.)