Ivan Pozdeev
e0d109c227
Include a Bash automated install option
5 lat temu
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 lat temu
Fabian Homborg
0d2fb35cee
Fix fish installation instructions ( #1916 )
5 lat temu
Ivan Pozdeev
da9392fd09
Add a hint for cases when ~/.profile sources ~/.rc
Our ~/.rc logic must run after the ~/.profile one
5 lat temu
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 lat temu
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 lat temu
Ivan Pozdeev
3e3f40fefc
Warn users to add `pyenv init --path` to ~/.profile
To facilitate migration
5 lat temu
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 lat temu
Ivan Pozdeev
5998f4f7ab
Refactoring: make logic more fit for rearrangement
With functions, we have more leeway in what to call
5 lat temu
Ville Skyttä
61d702405d
feat(init): strip -<suffix> when autodetecting shell
For example bash-5.1, bash-static.
5 lat temu
M. Smits
71d2e4549e
Updated documentation pyenv init for fish shell comform to readme. ( #1703 )
5 lat temu
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb .
7 lat temu
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 lat temu
McTavish McArdle
5f20bc258f
"." has been deprecated in the fish shell in favor of explicit "source"
10 lat temu
derwolfe
e9aa6cf649
doc: make location to add code to more clear
11 lat temu
Yamashita Yuu
f0e852553a
Import rbenv changes at 7e0e85bdda
11 lat temu
Yamashita Yuu
6f761f8159
Remove `exit 0` from initialization code of fish
12 lat temu
Yamashita Yuu
5dea3c9e63
Import changes from recent rbenv
12 lat temu
Yamashita Yuu
5bff9c773a
Reliably detect parent shell in `pyenv init` ( fixes #93 )
Imported changes from sstephenson/rbenv#453 .
12 lat temu
Yamashita Yuu
6e749ef12f
Import recent changes relating to fish from rbenv
12 lat temu
Yamashita Yuu
93b536863f
Support fish shell
13 lat temu
Yamashita Yuu
fca31c4307
import trivial changes from rbenv 0.4.0
13 lat temu
Yamashita Yuu
da06998457
import rbenv-help from rbenv 0.4.0
13 lat temu
Yamashita Yuu
2457419b4a
created new project.
modified rbenv source for Python and renamed to pyenv.
14 lat temu