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.
2021-05-10 00:08:46 +03:00
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.
2021-05-07 16:21:17 +03:00
Ivan Pozdeev
3e3f40fefc
Warn users to add pyenv init --path
to ~/.profile
...
To facilitate migration
2021-05-05 03:04:52 +03:00
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
2021-05-05 03:04:51 +03:00
Ivan Pozdeev
5998f4f7ab
Refactoring: make logic more fit for rearrangement
...
With functions, we have more leeway in what to call
2021-05-05 01:25:11 +03:00
Ville Skyttä
61d702405d
feat(init): strip -<suffix> when autodetecting shell
...
For example bash-5.1, bash-static.
2021-03-23 22:10:55 +02:00
M. Smits
71d2e4549e
Updated documentation pyenv init for fish shell comform to readme. ( #1703 )
2020-10-01 21:28:29 -04:00
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
...
This reverts commit 070e1c859f
, reversing
changes made to 3faeda67bb
.
2019-04-23 10:23:33 -04:00
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
2019-03-07 22:15:14 +01:00
Yamashita, Yuu
83f97ef2b3
Merge remote-tracking branch 'rbenv/master' into rbenv-20180402
2018-04-02 01:46:48 +00:00
Daniel Hahler
3fd23431af
Merge remote-tracking branch 'rbenv/master'
...
Conflicts:
README.md
libexec/pyenv---version
libexec/pyenv-init
libexec/rbenv
libexec/rbenv-sh-shell
libexec/rbenv-which
test/init.bats
test/shell.bats
2017-06-05 15:18:44 +02:00
McTavish McArdle
5f20bc258f
"." has been deprecated in the fish shell in favor of explicit "source"
2016-05-28 18:29:45 -04:00
Yamashita, Yuu
41ce3aade2
Merge remote-tracking branch 'rbenv/master' into rbenv-1.0
2016-03-02 01:39:52 +00:00
Yamashita, Yuu
8da3749648
Merge remote-tracking branch 'rbenv/master' into rbenv-20151121
2015-11-21 04:21:14 +00:00
derwolfe
e9aa6cf649
doc: make location to add code to more clear
2015-03-18 21:33:15 +01:00
Yamashita Yuu
f0e852553a
Import rbenv changes at 7e0e85bdda
2014-12-01 00:29:26 +09:00
Yamashita Yuu
6f761f8159
Remove exit 0
from initialization code of fish
2014-06-30 23:00:09 +09:00
Yamashita Yuu
5dea3c9e63
Import changes from recent rbenv
2014-01-03 04:58:44 +09:00
Yamashita Yuu
5bff9c773a
Reliably detect parent shell in pyenv init
( fixes #93 )
...
Imported changes from sstephenson/rbenv#453 .
2013-12-26 13:48:43 +09:00
Yamashita Yuu
6e749ef12f
Import recent changes relating to fish from rbenv
2013-09-30 18:02:12 +09:00
Yamashita Yuu
93b536863f
Support fish shell
2013-08-15 22:56:53 +09:00
Yamashita Yuu
fca31c4307
import trivial changes from rbenv 0.4.0
2013-01-18 19:10:35 +09:00
Yamashita Yuu
da06998457
import rbenv-help from rbenv 0.4.0
2013-01-18 19:09:56 +09:00
Yamashita Yuu
2457419b4a
created new project.
...
modified rbenv source for Python and renamed to pyenv.
2012-08-31 15:30:20 +09:00