ri Not Working in zsh
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
精彩评论