Commit 273dab13 by Jason Karns

include flags in nodenv-install completions

parent 47d85f4b
...@@ -39,6 +39,12 @@ shopt -u nullglob ...@@ -39,6 +39,12 @@ shopt -u nullglob
# Provide rbenv completions # Provide rbenv completions
if [ "$1" = "--complete" ]; then if [ "$1" = "--complete" ]; then
echo --list
echo --force
echo --skip-existing
echo --keep
echo --verbose
echo --patch
exec ruby-build --definitions exec ruby-build --definitions
fi fi
......
...@@ -141,6 +141,12 @@ OUT ...@@ -141,6 +141,12 @@ OUT
run rbenv-install --complete run rbenv-install --complete
assert_success assert_success
assert_output <<OUT assert_output <<OUT
--list
--force
--skip-existing
--keep
--verbose
--patch
${RBENV_ROOT}/plugins/bar/share/ruby-build ${RBENV_ROOT}/plugins/bar/share/ruby-build
${RBENV_ROOT}/plugins/foo/share/ruby-build ${RBENV_ROOT}/plugins/foo/share/ruby-build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment