zsh: is there a problem with always enabling extended glob?
18
votes
1
answer
16577
views
I recetnly came across
setopt extended_glob
...in order to enable extended globbing which allows for a number of cool wildcard additions, like excluding specific patterns, for example:
ls ^foo*
...will use
ls
on every path in your current directory except for patterns that match foo*
.
I found one tutorial suggesting to put setopt extended_glob
inside your .zshrc
, but I guess since many zsh config templates miss that option and the option being *disabled by default* it has some downsides or even side-effects?
Or is it absolutely harmless always enabling extended_glob
via putting it inside one's .zshrc
?
Asked by daniel451
(1107 rep)
Mar 17, 2018, 05:40 PM
Last activity: Dec 12, 2024, 07:02 AM
Last activity: Dec 12, 2024, 07:02 AM