How do I show the definition of a function in zsh? type foo doesn\'t give the definition.
type foo
In bash:
bash$ function foo() { echo hello; } bash
I've always just used which for this.
which