about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-04-05 10:26:30 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-04-05 10:26:30 +0000
commit293082867800add063072dbfcdd65458ae1fcb28 (patch)
tree1e839c5dfc36a966c337e388c35c302abe4da1f9 /Doc
parentfd92cf568670f733b36fb5bbb73607cbf915199f (diff)
downloadzsh-293082867800add063072dbfcdd65458ae1fcb28.tar.gz
zsh-293082867800add063072dbfcdd65458ae1fcb28.tar.xz
zsh-293082867800add063072dbfcdd65458ae1fcb28.zip
22394, 22043: execute-as-is style for MIME suffixes
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/contrib.yo9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index bf83a69e2..a0fc1ff56 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -1391,6 +1391,15 @@ question is run using the tt(eval) builtin instead of by starting a new
 tt(sh) process.  This is more efficient, but may not work in the occasional
 cases where the mailcap handler uses strict POSIX syntax.
 )
+item(tt(execute-as-is))(
+This style gives a list of patterns to be matched against files
+passed for execution with a handler program.  If the file matches
+the pattern, the entire command line is executed in its current form,
+with no handler.  This is useful for files which might have suffixes
+but nonetheless be executable in their own right.  If the style
+is not set, the pattern tt(*+LPAR()*+RPAR()) is used; hence executable
+files are executed directly and not passed to a handler.
+)
 item(tt(flags))(
 Defines flags to go with a handler; the context is as for the
 tt(handler) style, and the format is as for the flags in tt(mailcap).