How to show zsh function definition (like bash “type myfunc”)?

前端 未结 4 864
陌清茗
陌清茗 2020-12-12 20:13

How do I show the definition of a function in zsh? type foo doesn\'t give the definition.

In bash:

bash$ function foo() { echo hello; }

bash         


        
4条回答
提交回复
热议问题