Przeglądaj źródła

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

pull/360/head^2
Sam Stephenson 13 lat temu
rodzic
commit
00b8b4db33
1 zmienionych plików z 1 dodań i 3 usunięć
  1. +1
    -3
      libexec/rbenv-init

+ 1
- 3
libexec/rbenv-init Wyświetl plik

@ -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\""

Ładowanie…
Anuluj
Zapisz