Skip to content
Browse files

Fix zsh completion

Z-shell completion relies on the format of the output generated by `rvm
help`. As this format has changed we have to update the completion
script.
  • Loading branch information...
1 parent 0741a4c commit 875344670df16d856dd2d55a3d12699fde4500ff @jcf jcf committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/zsh/Completion/_rvm
View
2 scripts/zsh/Completion/_rvm
@@ -36,7 +36,7 @@ case $state in
cmds)
- cmds=( ${(f)"$(_call_program commands rvm help 2> /dev/null | sed -e '/^Action/,/^Implementation/!d; / - /!d; s/^[ *]*\([^ ]*\) *\- *\(.*\)/\1:\2/')"} )
+ cmds=( ${(f)"$(_call_program commands rvm help 2> /dev/null | sed -e '/^== Action/,/^== Implementation/!d; / - /!d; s/^[ *]*\([^ ]*\) *\- *\(.*\)/\1:\2/')"} )
cmds+=( $(rvm list strings) )
_describe -t commands 'rvm command' cmds && ret=0
;;

0 comments on commit 8753446

Please sign in to comment.
Something went wrong with that request. Please try again.