put a “usage: “ prompt if the script is not sourced
Create a generic snippet that can be put at the top of any of my scripts to easily source these and report a helpful error if the util scripts are not found
could put the scripts in the dotfiles part of the repo instead of ansible; this way it's easier to change them on the fly (assuming they don't need to be templated)
Put them in the local bin
put a guard at the top of each one just to say that it should not be sourced
https://unix.stackexchange.com/questions/424492/how-to-define-a-shell-script-to-be-sourced-not-run
also make these helpers non executable
put a “usage: “ prompt if the script is not sourced
Create a generic snippet that can be put at the top of any of my scripts to easily source these and report a helpful error if the util scripts are not found