Post History
For functions, you could dump all currently-defined functions to a file such as appending to ~/.bashrc. typeset -f >> ~/.bashrc Note that this specifically will display every function, re...
Answer
#1: Initial revision
For functions, you could dump all currently-defined functions to a file such as appending to `~/.bashrc`. ``` typeset -f >> ~/.bashrc ``` Note that this specifically will display every function, regardless of where it was defined. So you would have to manually remove duplicates/unwanted entries. You could also bother to save that output to a "full" file, and compare it to the output of a new shell. ``` bash -i -c 'typeset -f' > ~/funcs-plain typeset -f > ~/funcs-mine ``` And then diff them for easy comparison.