Ivan Pozdeev
e0d109c227
Include a Bash automated install option
пре 5 година
native-api
0d07cda969
Update install instructions for Bash and Zsh ( #1920 )
* Update install instructions for Bash and Zsh
* Synchronize README.md with `pyenv init`
* Add a ~/.bash_profile note
* Concatenate shims activation into installation for brevity
(Pyenv can't be used meaningfully without shims anyway)
Otherwise, we'd need to duplicate all the ~/.profile shenanigans in both sections
* Update based on feedback
* Proofread
пре 5 година
Fabian Homborg
0d2fb35cee
Fix fish installation instructions ( #1916 )
пре 5 година
Ivan Pozdeev
da9392fd09
Add a hint for cases when ~/.profile sources ~/.rc
Our ~/.rc logic must run after the ~/.profile one
пре 5 година
Ivan Pozdeev
13deda8875
Place full shell configuration instructions into `pyenv init`
including initial PATH and PYENV_ROOT entries.
The migration hint proved to be unclear to users without them.
пре 5 година
Ivan Pozdeev
aab562c696
Add a warning about needing to restart the entire login session
E.g. for a GUI session, ~/.profile is executed by the GUI login "shell" at its startup
so one needs to fully log out and log back in.
Before that, the change would only be seen by shells explicitly started as login shells.
пре 5 година
Ivan Pozdeev
3e3f40fefc
Warn users to add `pyenv init --path` to ~/.profile
To facilitate migration
пре 5 година
Ivan Pozdeev
7838707595
Separate startup logic into PATH and the rest
PATH manipulation should be done in ~/.profile rather than ~/.*rc since .rc can be sourced multiple times
пре 5 година
Ivan Pozdeev
5998f4f7ab
Refactoring: make logic more fit for rearrangement
With functions, we have more leeway in what to call
пре 5 година
Ville Skyttä
61d702405d
feat(init): strip -<suffix> when autodetecting shell
For example bash-5.1, bash-static.
пре 5 година
M. Smits
71d2e4549e
Updated documentation pyenv init for fish shell comform to readme. ( #1703 )
пре 5 година
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb .
пре 7 година
Casey McGinty
83e5459cfb
Remove shebang lines from scripts for performance
All scripts in libexec/ (excluding pyenv) are called through pyenv,
therefore the shebang lines are not necessary. On some systems this
provides a measurable increase in performance of the shell prompt.
Related to pyenv/pyenv-virtualenv#259
пре 8 година
McTavish McArdle
5f20bc258f
"." has been deprecated in the fish shell in favor of explicit "source"
пре 10 година
derwolfe
e9aa6cf649
doc: make location to add code to more clear
пре 11 година
Yamashita Yuu
f0e852553a
Import rbenv changes at 7e0e85bdda
пре 11 година
Yamashita Yuu
6f761f8159
Remove `exit 0` from initialization code of fish
пре 12 година
Yamashita Yuu
5dea3c9e63
Import changes from recent rbenv
пре 12 година
Yamashita Yuu
5bff9c773a
Reliably detect parent shell in `pyenv init` ( fixes #93 )
Imported changes from sstephenson/rbenv#453 .
пре 12 година
Yamashita Yuu
6e749ef12f
Import recent changes relating to fish from rbenv
пре 12 година
Yamashita Yuu
93b536863f
Support fish shell
пре 13 година
Yamashita Yuu
fca31c4307
import trivial changes from rbenv 0.4.0
пре 13 година
Yamashita Yuu
da06998457
import rbenv-help from rbenv 0.4.0
пре 13 година
Yamashita Yuu
2457419b4a
created new project.
modified rbenv source for Python and renamed to pyenv.
пре 14 година