Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
isprogram
/
pyenv
mirror da
https://github.com/pyenv/pyenv.git
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Projects
0
Rilasci
241
Wiki
Attività
Sfoglia il codice sorgente
Extract rbenv-shims
pull/360/head^2
Sam Stephenson
15 anni fa
parent
69d596f56f
commit
61830048d5
2 ha cambiato i file
con
18 aggiunte
e
4 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-4
libexec/rbenv-exec
+17
-0
libexec/rbenv-shims
+ 1
- 4
libexec/rbenv-exec
Vedi File
@ -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
Vedi File
@ -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
Scrivi
Anteprima
Caricamento…
Annulla
Salva