Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Patterns (was Re: array filtering)





On 2024-06-09 16:08, Bart Schaefer wrote:
The only distinction with globbing is that the shell patterns apply to
file names, and therefore obey the convention of hiding file names
beginning with a "." and the file system rules about directory
hierarchies.  The latter makes "/" significant, so some extra sugar is
added to move through the tree.
It's the little exceptions that bite but  nevermind, one easily gets it solved.  The thing it to keep regex and shell unconfused.  Or, would it be worth considering the regex module?  Never played with it.

So these are my non-default settings?:
% unsetopt kshoptionprint; setopt

autocd
autopushd
completealiases
completeinword
extendedglob
extendedhistory
globdots
globstarshort
histignorealldups
histignorespace
histreduceblanks
incappendhistory
interactive
monitor
nullglob
promptsubst
pushdsilent
sharehistory
shinstdin
transientrprompt
zle




Messages sorted by: Reverse Date, Date, Thread, Author