In my .zshrc, I set up suffix completion aliases like this so that I can more easily open files:
alias -s -- txt='mate -w'
Allows you to open text files in a text editor without adding an editor command.
However, there is a problem when I try to open a file with a capital suffix. ZSH recognizes ".txt" and opens it in a text editor, but not ".TXT."
Is there a way to make the ZSH suffix registration case insensitive so that I can open such files?
source
share