Bash: Who defined that shell function?
Appearance
Problem
How do I find out where a particular bash function, for example foo, is defined?
Solution
shopt -s extdebug declare -F foo
How do I find out where a particular bash function, for example foo, is defined?
shopt -s extdebug declare -F foo