I just found about zsh suffix aliases that allow one to associate a program with an extension in the shell:
alias -s {md,txt}=nano
Is there a way to do something like this but for file that do not have an extension?
I've tried:
alias -s {}=nano
But if I then try to use it, I get a command not found error:
> alias -s {}=nano
> touch file_without_extension
> file_without_extension
zsh: command not found: file_without_extension
