Browse Source

Merge pull request #836 from eagletmt/fix-path

Remove leading `:`
pull/504/head^2
Mislav Marohnić 8 years ago
parent
commit
dc23ef10b6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libexec/rbenv-which

+ 2
- 1
libexec/rbenv-which View File

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

Loading…
Cancel
Save