Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
eef6a2ed
Commit
eef6a2ed
authored
Dec 08, 2015
by
Mislav Marohnić
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #841 from jasonkarns/rbenv-completions
Provide completion of flags for install/uninstall
parents
1f7fb91c
273dab13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
bin/rbenv-install
+6
-0
bin/rbenv-uninstall
+1
-0
test/rbenv.bats
+6
-0
No files found.
bin/rbenv-install
View file @
eef6a2ed
...
...
@@ -39,6 +39,12 @@ shopt -u nullglob
# Provide rbenv completions
if
[
"
$1
"
=
"--complete"
]
;
then
echo
--list
echo
--force
echo
--skip-existing
echo
--keep
echo
--verbose
echo
--patch
exec
ruby-build
--definitions
fi
...
...
bin/rbenv-uninstall
View file @
eef6a2ed
...
...
@@ -14,6 +14,7 @@ set -e
# Provide rbenv completions
if
[
"
$1
"
=
"--complete"
]
;
then
echo
--force
exec
rbenv versions
--bare
fi
...
...
test/rbenv.bats
View file @
eef6a2ed
...
...
@@ -141,6 +141,12 @@ OUT
run rbenv-install --complete
assert_success
assert_output <<OUT
--list
--force
--skip-existing
--keep
--verbose
--patch
${RBENV_ROOT}/plugins/bar/share/ruby-build
${RBENV_ROOT}/plugins/foo/share/ruby-build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment