Can I list source for already defined bash functions?
A accidentally some changes to my bash configuration I keep in git by doing git reset --hard head in an incorrect directory. In particular some nifty functions I used. I have a terminal running which still has these functions loaded, can I still reconstruct them from the environment somehow?
If you defined them as functions in a file your sourced from something like .bashrc or .profile you should be able to use bash's type command.
$ type your_nifty_function
$ declare -f
will list all functions defined in the current shell.
declare will print out all the functions defined. (And all environment variables as well).
alias will print out all aliases defined.