1 2 3 4 5 6 7
## vim:ft=zsh ## locate the file corresponding to a function if [[ -n $(echo ${^fpath}/${1}(-.N)) ]] { echo ${^fpath}/${1}(-.N) } else { return 1 }