mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Remove leading :
This commit is contained in:
parent
f0e8bdcdaf
commit
3c7a13d81f
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ remove_from_path() {
|
||||||
path_before="$result"
|
path_before="$result"
|
||||||
result="${result//:$path_to_remove:/:}"
|
result="${result//:$path_to_remove:/:}"
|
||||||
done
|
done
|
||||||
echo "${result%:}"
|
result="${result%:}"
|
||||||
|
echo "${result#:}"
|
||||||
}
|
}
|
||||||
|
|
||||||
RBENV_COMMAND="$1"
|
RBENV_COMMAND="$1"
|
||||||
|
|
Loading…
Reference in a new issue