Parcourir la source

Remove leading `:`

pull/504/head^2
Kohei Suzuki il y a 10 ans
Parent
révision
3c7a13d81f
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      libexec/rbenv-which

+ 2
- 1
libexec/rbenv-which Voir le fichier

@ -23,7 +23,8 @@ remove_from_path() {
path_before="$result"
result="${result//:$path_to_remove:/:}"
done
echo "${result%:}"
result="${result%:}"
echo "${result#:}"
}
RBENV_COMMAND="$1"

Chargement…
Annuler
Enregistrer