about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-08-09 16:17:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-08-09 16:17:12 +0000
commit5bfe4cb650d71ed1e2345248793cd5ee96fb03b8 (patch)
tree37be79f50f5ba0fc56324002a70957636f860d32 /Doc/Zsh
parent901e6c7387bd0145ce26356eda1573d20293a57a (diff)
downloadzsh-5bfe4cb650d71ed1e2345248793cd5ee96fb03b8.tar.gz
zsh-5bfe4cb650d71ed1e2345248793cd5ee96fb03b8.tar.xz
zsh-5bfe4cb650d71ed1e2345248793cd5ee96fb03b8.zip
22593: add handle-nonexistent style to MIME handler
Diffstat (limited to 'Doc/Zsh')
-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 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