浏览代码

Defer to `rbenv commands`

pull/360/head^2
Sam Stephenson 15 年前
父节点
当前提交
e4a040f1e0
共有 1 个文件被更改,包括 2 次插入6 次删除
  1. +2
    -6
      completions/rbenv.bash

+ 2
- 6
completions/rbenv.bash 查看文件

@ -1,11 +1,7 @@
_rbenv_commands() {
local cur commands
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
commands="exec prefix rehash set-default set-local version versions\
whence which"
COMPREPLY=( $( compgen -W "$commands" -- $cur ) )
local cur="${COMP_WORDS[COMP_CWORD]}"
COMPREPLY=( $( compgen -W "$(rbenv commands)" -- $cur ) )
}
_rbenv_versions() {

正在加载...
取消
保存