From 30697061f2630543cccb9648e14b1fe7fa1d93ee Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Fri, 30 Mar 2001 16:20:03 +0000 Subject: Refuse to setopt noexec when interactive --- Doc/Zsh/options.yo | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Doc/Zsh/options.yo') diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index aec878774..025368d7c 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -374,6 +374,8 @@ cindex(command execution, enabling) item(tt(EXEC) (tt(PLUS()n), ksh: tt(PLUS()n)) )( Do execute commands. Without this option, commands are read and checked for syntax errors, but not executed. +This option cannot be turned off in an interactive shell, +except when `tt(-n)' is supplied to the shell at startup. ) pindex(EXTENDED_GLOB) cindex(globbing, extended) -- cgit 1.4.1