瀏覽代碼

add completion block for rbenv-help

pull/487/head^2
Jason Karns 10 年之前
父節點
當前提交
8c3cab61c7
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +7
    -0
      libexec/rbenv-help

+ 7
- 0
libexec/rbenv-help 查看文件

@ -15,6 +15,13 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
echo --usage
rbenv-commands
exit
fi
command_path() {
local command="$1"
command -v rbenv-"$command" || command -v rbenv-sh-"$command" || true

Loading…
取消
儲存