This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
isprogram
/
pyenv
огледало од
https://github.com/pyenv/pyenv.git
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Projects
0
Издања
241
Вики
Activity
Преглед изворни кода
Extract rbenv-shims
pull/360/head^2
Sam Stephenson
пре 15 година
родитељ
69d596f56f
комит
61830048d5
2 измењених фајлова
са
18 додато
и
4 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
libexec/rbenv-exec
+17
-0
libexec/rbenv-shims
+ 1
- 4
libexec/rbenv-exec
Прегледај датотеку
@ -4,10 +4,7 @@ set -e
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
for command in "${RBENV_ROOT}/shims/"*; do
echo "${command##*/}"
done
exit
exec rbenv shims --short
fi
RBENV_COMMAND="$1"
+ 17
- 0
libexec/rbenv-shims
Прегледај датотеку
@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e
[ -n "$RBENV_DEBUG" ] && set -x
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
echo --short
exit
fi
for command in "${RBENV_ROOT}/shims/"*; do
if [ "$1" = "--short" ]; then
echo "${command##*/}"
else
echo "$command"
fi
done | sort
Write
Preview
Loading…
Откажи
Сачувај