Sfoglia il codice sorgente

Don't need to test if the shims directory is present since rbenv-rehash creates it

pull/360/head^2
Sam Stephenson 13 anni fa
parent
commit
00b8b4db33
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. +1
    -3
      libexec/rbenv-init

+ 1
- 3
libexec/rbenv-init Vedi File

@ -21,9 +21,7 @@ abs_dirname() {
}
root="$(abs_dirname "$0")/.."
if [ -d "$HOME/.rbenv/shims" ]; then
echo 'export PATH="$HOME/.rbenv/shims:$PATH"'
fi
echo 'export PATH="$HOME/.rbenv/shims:$PATH"'
if [ "$shell" = "bash" ]; then
echo "source \"$root/completions/rbenv.bash\""

Caricamento…
Annulla
Salva