For these custom scripts to work, you need to add $HOME/.local/bin to your PATH.
$HOME/.local/bin
PATH
If you use my Zsh config, this is already taken care of.