diff options
author | Peter Stephenson <pws@zsh.org> | 2015-12-04 09:27:30 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-12-04 09:28:26 +0000 |
commit | fc00e3a6b79862be1b605279615fe88259d70799 (patch) | |
tree | bafbfd3bfd648bdc01b9a620186d8915bac3781b /Doc | |
parent | 5ecf332e84fc296a37d3ad9ec35fe3495234cfc1 (diff) | |
download | zsh-fc00e3a6b79862be1b605279615fe88259d70799.tar.gz zsh-fc00e3a6b79862be1b605279615fe88259d70799.tar.xz zsh-fc00e3a6b79862be1b605279615fe88259d70799.zip |
37294: Add ZSH_EXECUTION_STRING.
This shows the argument to shell option -c.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/params.yo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 21bb87442..672209267 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -933,6 +933,11 @@ tt(zsh/zutil) module. ) enditem() ) +vindex(ZSH_EXECUTION_STRING) +item(tt(ZSH_EXECUTION_STRING))( +If the shell was started with the option tt(-c), this contains +the argument passed to the option. Otherwise it is not set. +) vindex(ZSH_NAME) item(tt(ZSH_NAME))( Expands to the basename of the command used to invoke this instance |