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