* 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
only message in thread, other threads:[~2005-12-05 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20051204162658.GA17541@alnagon.localnet.cz>
[not found] ` <1051205063532.ZM22228@candle.brasslantern.com>
[not found] ` <20051205103021.0828ce8f.pws@csr.com>
2005-12-05 16:33 ` NO_CASE_GLO (Re: history-search + a few new user question) Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).