After reading this answer about a zsh feature:
If a given extension has a suffix alias, you can execute a file with that extention directly, and ZSH will launch the given program and pass the filename as an argument.
Is there something similar to bash? That is, if a given file has an extension, how to directly execute that file, automatically launching a program just by calling the file's name? So doing
would equivalent to the same zsh feature? Is this feature available in newer versions of bash?