I have noticed that unless I add an
.sh extension to my shell scripts, Zsh does not suggest them for autocompletion for execution despite having them in my
PATH. I have the same problem if I
cd into the directory and start typing the filename.
When I say for execution I mean typing the file directly on the prompt, i.e.:
Are there any options in Zsh that control which file extensions are considered for this type of autocompletion?