开发者

ri Not Working in zsh

开发者 https://www.devze.com 2023-04-03 03:59 出处:网络
I\'m using zsh on Mac OS X. When开发者_如何学编程 I type ri followed by a class name everything works fine. However, if I want to look up specific method documentation (e.g. Array#new), the shell woul

I'm using zsh on Mac OS X. When开发者_如何学编程 I type ri followed by a class name everything works fine. However, if I want to look up specific method documentation (e.g. Array#new), the shell would tell me zsh: no matches found: Array#new

Does this mean the ruby documentation is not completely installed on Mac by default?

Thanks.


Put Array#new inside single quotes. It's a special operator for zsh

0

精彩评论

暂无评论...
验证码 换一张
取 消