ソースを参照

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

読み込み中…
キャンセル
保存