I am running MacOS Big Sur 11.2.3 (20D91) and using zsh (the default shell).
Whenever I added new executable files/scripts to $PATH, I can not auto-complete the script filename in the existing terminals. I have to open a new terminal to make the autocomplete work for the new files.
Is that possible to make the autocomplete work for new files in $PATH automatically for old existing terminal sessions?
Thanks a lot.