Browse Source

Remove leading `:`

pull/504/head^2
Kohei Suzuki 10 years ago
parent
commit
3c7a13d81f
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