about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-10-28 00:41:23 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-10-28 00:41:23 +0000
commit790cc92ac73370c42e0aa0308d134be689ab35ce (patch)
treeb336f14071b3fdf23c3abafa19e35ab465a01179 /Doc
parente7e158c642d5ffe9350451e5aee59fcf757267b6 (diff)
downloadzsh-790cc92ac73370c42e0aa0308d134be689ab35ce.tar.gz
zsh-790cc92ac73370c42e0aa0308d134be689ab35ce.tar.xz
zsh-790cc92ac73370c42e0aa0308d134be689ab35ce.zip
Merge of 22593: add handle-nonexistent style.
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 04712b2c3..4086e30bf 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -1207,6 +1207,15 @@ 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).
 )
+item(tt(handle-nonexistent))(
+By default, arguments that don't correspond to files are not passed
+to the MIME handler in order to prevent it from intercepting commands found
+in the path that happen to have suffixes.  This style may be set to
+an array of extended glob patterns for arguments that will be passed to the
+handler even if they don't exist.  If it is not explicitly set it
+defaults to tt([[:alpha:]]#:/*) which allows URLs to be passed to the MIME
+handler even though they don't exist in that format in the file system.
+)
 item(tt(handler))(
 Specifies a handler for a suffix; the suffix is given by the context as
 tt(:mime:.)var(suffix)tt(:), and the format of the handler is exactly