shell get location of function

Shell
type foo
Source

Also in Shell: