이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
isprogram
/
pyenv
의 미러
https://github.com/pyenv/pyenv.git
보기
1
좋아요
0
포크
0
코드
이슈
0
Projects
0
릴리즈
241
위키
활동
소스 검색
Tweak `rbenv --version` output
pull/360/head^2
Sam Stephenson
13 년 전
부모
3060578e3b
커밋
1ebcbd92e2
2개의 변경된 파일
과
4개의 추가작업
그리고
3개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libexec/rbenv
+3
-2
libexec/rbenv---version
+ 1
- 1
libexec/rbenv
파일 보기
@ -60,7 +60,7 @@ shopt -u nullglob
command="$1"
case "$command" in
"" | "-h" | "--help" )
echo -e "
rbenv
$(rbenv---version)\n$(rbenv-help)" >&2
echo -e "$(rbenv---version)\n$(rbenv-help)" >&2
;;
"-v" )
exec rbenv---version
+ 3
- 2
libexec/rbenv---version
파일 보기
@ -2,9 +2,10 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x
version=
v
0.3.0
version=0.3.0
cd "$RBENV_ROOT"
git_revision="$(git describe --tags HEAD 2>/dev/null || true)"
git_revision="${git_revision#v}"
echo ${git_revision:-$version}
echo
"rbenv
${git_revision:-$version}
"
쓰기
미리보기
불러오는 중...
취소
저장