* NO_CASE_GLO (Re: history-search + a few new user question)
[not found] ` <20051205103021.0828ce8f.pws@csr.com>
@ 2005-12-05 16:33 ` Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2005-12-05 16:33 UTC (permalink / raw)
To: zsh-workers
[redirected to zsh-workers]
On Dec 5, 10:30am, Peter Stephenson wrote:
}
} Well, there's the option "nocaseglob", which interprets patterns that
} way, but the problem is "downloads" is a simple string which isn't
} treated as a pattern
Here's a possibly wacky and probably hard-to-implement idea:
GLOB_EVERYTHING
When this option is set, zsh attempts pattern matching on every word
on the command line (except the command name), even plain strings
containing no pattern metacharacters. Globbing of plain strings is
always performed as if all of NOMATCH, BAD_PATTERN, NULL_GLOB and
CSH_NULL_GLOB are unset.
This is mostly useful in combination with NO_CASE_GLOB or MARK_DIRS.
(I go back and forth on whether MARK_DIRS belongs with NOMATCH rather
than with CASE_GLOB.)
Possibly unwanted side-effects: If a directory contains the files
download Download DownLoad
then globbing the seemingly plain string "download" yields three words.
^ permalink raw reply [flat|nested] only message in thread