Terminal won't find command of custom script since Catalina update
The directory ~/bin/ (e.g. /Users/alice/bin) is no standard path for executables. It has to be added to the PATH variable.

After changing the default login-shell from bash (-10.14) to zsh (10.15-) any customizations of the PATH-variable in .bash_profile/.profile/.bashrc to add custom directories (e.g. export PATH=/Users/alice/bin:$PATH) or other variables (and aliases etc.) won't work anymore in your login-shell.

But you can simply create/modify a similar file for zsh (.zprofile/.zshrc):

touch .zprofile
echo 'export PATH=/Users/alice/bin:$PATH' &gt;&gt; ~/.zprofile


Personally I soft-linked .zshrc to .zprofile:

ln -s ~/.zprofile ~/.zshrc


Afterwards either source this file or close and reopen the Terminal window to make the changes of the PATH variable effective.