On my systems, putting a shell script git-foo
in directory /home/me/mygits
(nothing special about the name) on your path causes the command
git foo
to evaluate to
/bin/sh /home/me/mygits/git-goo
I use a lot of bash shell functions in my programming and even though I export -f
the functions, they don't make it to the shell started up by the git functionality.
I was wondering if there was any way to control what shell gets started when the command that is being executed is a shell script? That may not help in the end, but I'd like to try a few experiments before giving up.
Thank you.