This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
181
Wiki
Activity
Browse Source
Merge pull request
#836
from eagletmt/fix-path
Remove leading `:`
pull/504/head^2
Mislav Marohnić
8 years ago
parent
20755cfc15
3c7a13d81f
commit
dc23ef10b6
1 changed files
with
2 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libexec/rbenv-which
+ 2
- 1
libexec/rbenv-which
View File
@ -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"
Write
Preview
Loading…
Cancel
Save