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

Re: case insensitive suffix aliases





On 2024-05-11 14:15, Bart Schaefer wrote:
On Sat, May 11, 2024 at 1:28 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
alias -s {t,T}{x,X}{t,T}='geany'

... can that be avoided?
I believe "setopt nocaseglob" will handle that, but otherwise no.
I read about that on the internet.  Tried it, but no luck.  Maybe one of those things that depends on a particular set of options at the same time?  Anyway, IMHO it would be a very nice little feature.  I'd guess easy enough to code.  Honestly tho 99% of the time a capitalized and a lower case version are sufficient but it looks rather redundant.







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