After sourcing the following code my terminal is able to see __hey
function.
super_tools() {
case "$1" in
"hey")
__hey
;;
*)
echo "Invalid argument: $1"
;;
esac
}
function __hey() {
echo "hey"
}
I would like to prevent that from happening so that the user only sees super_tools
and can provide it further with hey
. Is it possible to do this without unsetting function?