summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-09-16 00:05:10 +0200
committerOliver Kiddle <opk@zsh.org>2016-09-16 00:05:10 +0200
commitb870ff85a0bcda9d38a734aa86bb6aee3d76983e (patch)
tree0c0dfd095a058bc8814dc4ed31dfcabd90bc18a5 /Doc/Zsh
parentfbafc5b509e311efee064bbd12396a2e207f3393 (diff)
downloadzsh-b870ff85a0bcda9d38a734aa86bb6aee3d76983e.tar.gz
zsh-b870ff85a0bcda9d38a734aa86bb6aee3d76983e.tar.xz
zsh-b870ff85a0bcda9d38a734aa86bb6aee3d76983e.zip
39333: include name of command used to gain priviliges in context for command and gain-priviliges styles
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/compsys.yo4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index cab665b1c..260ace4ac 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -4191,7 +4191,9 @@ output is influenced by the permissions it is run with. If the
 tt(gain-privileges) style is set to true, tt(_call_program) will make
 use of commands such as tt(sudo), if present on the command-line, to
 match the permissions to whatever the final command is likely to run
-under.
+under. When looking up the tt(gain-privileges) and tt(command) styles,
+the command component of the zstyle context will end with a slash
+(`tt(/)') followed by the command that would be used to gain privileges.
 )
 findex(_combination)
 item(tt(_combination) [ tt(-s) var(pattern) ] var(tag) var(style) var(spec) ... var(field) var(opts) ...)(