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
241
Wiki
Activity
Browse Source
feat(init): strip -<suffix> when autodetecting shell
For example bash-5.1, bash-static.
pull/1835/head
Ville Skyttä
5 years ago
parent
3086e6e790
commit
61d702405d
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libexec/pyenv-init
+ 1
- 0
libexec/pyenv-init
View File
@ -38,6 +38,7 @@ if [ -z "$shell" ]; then
shell="${shell##-}"
shell="${shell:-$SHELL}"
shell="${shell##*/}"
shell="${shell%%-*}"
fi
root="${0%/*}/.."
Write
Preview
Loading…
Cancel
Save