From fc00e3a6b79862be1b605279615fe88259d70799 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 4 Dec 2015 09:27:30 +0000 Subject: 37294: Add ZSH_EXECUTION_STRING. This shows the argument to shell option -c. --- Doc/Zsh/params.yo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Doc/Zsh/params.yo') 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 -- cgit 1.4.1