Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
isprogram
/
pyenv
kopia lustrzana
https://github.com/pyenv/pyenv.git
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Projects
0
Wydania
241
Wiki
Aktywność
Przeglądaj źródła
Merge pull request
#179
from johnwilliams/master
rbenv-init arguments should be allowed in any order
pull/360/head^2
Sam Stephenson
14 lat temu
rodzic
5d0a6630b9
f40bc773d2
commit
9ea1f7d53e
1 zmienionych plików
z
12 dodań
i
9 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+12
-9
libexec/rbenv-init
+ 12
- 9
libexec/rbenv-init
Wyświetl plik
@ -3,16 +3,19 @@ set -e
[ -n "$RBENV_DEBUG" ] && set -x
print=""
if [ "$1" = "-" ]; then
print=1
shift
fi
no_rehash=""
if [ "$1" = "--no-rehash" ]; then
no_rehash=1
shift
fi
for args in "$@"
do
if [ "$args" = "-" ]; then
print=1
shift
fi
if [ "$args" = "--no-rehash" ]; then
no_rehash=1
shift
fi
done
shell="$1"
if [ -z "$shell" ]; then
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz