From 5bfe4cb650d71ed1e2345248793cd5ee96fb03b8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 9 Aug 2006 16:17:12 +0000 Subject: 22593: add handle-nonexistent style to MIME handler --- Doc/Zsh/contrib.yo | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Doc/Zsh/contrib.yo') diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index e86e28584..7d63378e3 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -1432,6 +1432,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 -- cgit v1.2.3