소스 검색

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

불러오는 중...
취소
저장