이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
isprogram
/
pyenv
의 미러
https://github.com/pyenv/pyenv.git
보기
1
좋아요
0
포크
0
코드
이슈
0
Projects
0
릴리즈
241
위키
활동
소스 검색
Only shift if an argument is passed.
Fixes
#78
.
pull/360/head^2
Sam Stephenson
15 년 전
부모
1ba2ce0cb6
커밋
fb6eee26d4
1개의 변경된 파일
과
8개의 추가작업
그리고
5개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-5
libexec/rbenv-init
+ 8
- 5
libexec/rbenv-init
파일 보기
@ -70,14 +70,17 @@ echo 'rbenv rehash 2>/dev/null'
commands=(`rbenv commands --sh`)
IFS="|"
cat <<EOS
function rbenv () {
command="\$1";
shift;
function rbenv() {
command="\$1"
if [ "\$#" -gt 0 ]; then
shift
fi
case "\$command" in
${commands[*]})
eval \`rbenv "sh-\$command" "\$@"\`;;
*)
command rbenv "\$command" "\$@";;
esac
;
}
;
esac
}
EOS
쓰기
미리보기
불러오는 중...
취소
저장