I just started using Zsh lately for some of the integrated support in the shell prompt for my Git status etc.
When I type in:
ruby -v
to confirm the version of ruby I'm running, Zsh asks if I want to change the command to _ruby. Well after saying no at the prompt and the command completing as expected I continue to get the question at the prompt after confirming my command is correct.
I'm assuming there is a completion file or something of the sort.
Thanks
Update:
The shell is no longer trying to complete _ruby, it stopped responding after closing the shell a few times some how.
I tried to clean the file up several times but there is a "opts" variable that is 50 or more lines long and the lines are all ran together, some lines more than 150 characters. Maybe I could email an attachment to you if you still want to see it. I sincerely apologize for the messy post.
~/.zshrc
? Does it do that if you try to run a simple ruby CLI script (eg.ruby -e 'print "hi\n"'
)? Post your/usr/share/zsh/functions/Completion/Unix/_ruby
file and we can check it against a known-good version. – Dennis Williamson Aug 9 '10 at 6:08_ruby
in the working directory? I have a git repository with a folder namedstats
and every time I typegit status
, zsh want to “correct” it togit stats
. For me it’s oh-my-zsh that activated thecorrect
option, I’m starting to hate the thing. – Olivier 'Ölbaum' Scherler Jun 14 '11 at 8:17