Ver código fonte

Remove leading `:`

pull/504/head^2
Kohei Suzuki 10 anos atrás
pai
commit
3c7a13d81f
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      libexec/rbenv-which

+ 2
- 1
libexec/rbenv-which Ver arquivo

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

Carregando…
Cancelar
Salvar