How can I find out where an alias is defined on my system? I am referring to the kind of alias that is used within a Terminal session launched from Mac OS X (10.6.3).
functions
alias
bash -ixlc : 2>&1 | grep thingToSearchHere
zsh -ixc : 2>&1 | grep thingToSearchHere
-i Force shell to be interactive.
-c Take the first argument as a command to execute
-x -- equivalent to --xtrace
-l Make bash act as if invoked as a login shell