How can you do case-insensitive pattern matching with Eshell? With Zsh, one can use "globbing tags" (i.e., if the extended_glob is turned on) such as in
print L(#i)in(#I)ux
which would match LINux
for instance.
Is there anything like that for Eshell? From what I know Eshell doesn't have a support for something like Zsh's "globbing tags", but do you know if there is an Eshell predicate for case-insensitive matching? If there isn't, do you have any suggestion of how to define a predicate in Eshell to do that?
Thanks!
(setq eshell-glob-case-insensitive t)
Does not work.
(setq eshell-cmpl-ignore-case t)
This works. Put it in your .emacs
or .emacs.d/init.el
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With