Daniel Hahler
5f8a4c4d62
Fix some issues reported by shellcheck
před 9 roky
Mislav Marohnić
b80ea43e25
Quote directory name in variable assignment
před 8 roky
Zach Riggle
19e2b9588a
Fix $PWD changes when executing Python
Specifically, this does not play well with PWD=/proc/self/cwd
před 8 roky
Ryan Davis
1a8b5e04a9
Fixed `rbenv init -` output to work w/ no args and bash's `set -u`.
před 9 roky
Josh Friend
5af8d2fb12
Update changelog for v1.1.5
před 8 roky
Yamashita, Yuu
2178fb931c
v1.1.4
před 8 roky
Josh Friend
0314de0c73
v1.1.3
před 9 roky
Yamashita, Yuu
8fa1f43856
v1.1.2
před 9 roky
Mislav Marohnić
6cd487db81
rbenv 1.1.1
před 9 roky
Roman Bolshakov
01d39850b5
Do not attempt to read .python-version directories ( #606 )
před 9 roky
Daniel Hahler
95b1b05cbe
rbenv-version-file: ensure that the version file is a file
Forwarded from https://github.com/pyenv/pyenv/pull/606 .
před 9 roky
Jeff Kowalski
a81da8d864
Revert quoting change in previous commit; adjust test to match code
Revert back to original quoting style used before previous commit.
Adjust init.bats to reflect changes for successful tests.
před 9 roky
Jeff Kowalski
be2e606fbd
Prefer 'set' over 'setenv' for fish shell
The setenv function in fish shell has changed dramatically in
75600b6b53
It now conforms to the csh version, which takes at most two arguments.
In this init script, the form
setenv PATH prepend_something $PATH
had been used, which had too many arguments.
Since setenv isn't a native command in fish, a suitable replacement is
to use the "set -gx" command, which can consume multiple arguments.
před 9 roky
Tim Pope
9d93605e18
Don't unset CDPATH
před 9 roky
Tim Pope
1f1e291385
Enforce absolute RBENV_DIR
This prevents CDPATH from becoming an issue.
Closes #866 .
před 9 roky
Yamashita, Yuu
b3efcc9d15
v1.0.10 ( fixes #878 )
před 9 roky
Martin Nowak
db39044ef6
partly resolve #759
- some versions of bash (e.g. 4.3.11) complain about clobbering
/dev/null, use bash's explicit >| operator to ignore noclober
- not sure if the original #759 report has the same cause
- https://github.com/rbenv/rbenv/issues/759#issuecomment-289326891
před 9 roky
Samuel Villamonte
acfbc96614
V1.0.9 release ( #877 )
* Update version to 1.0.9
před 9 roky
Yamashita, Yuu
d01fa09a7d
Migrate project URL to https://github.com/pyenv/pyenv
před 9 roky
Yamashita, Yuu
ad8f2886ae
v1.0.8 ( fixes #841 )
před 9 roky
Yamashita, Yuu
57f946550a
v1.0.7
před 9 roky
Josh Friend
2552329dbd
v1.0.6
před 9 roky
Jason Karns
8eb97549e1
Conforms OLD_RBENV_VERSION to RBENV_* convention
Keeping rbenv-controlled variables to RBENV_* "namespace" helps with
discoverability (and tools like rbenv-env) but also consistency and a
very minor degree of safety/isolation from env impact.
před 9 roky
Josh Friend
095ca59878
v1.0.5
před 9 roky
Mislav Marohnić
e60ad4a090
rbenv 1.1.0
před 9 roky
Mislav Marohnić
c4d97ad392
Finalize `rbenv shell -` implementation
This ensures that OLD_RBENV_VERSION is never exported. This makes the
implementation a little bit more complex, since more logic needs to be
pushed down into eval'd code.
před 9 roky
Josh Friend
30baff8e5d
v1.0.4
před 9 roky
Yamashita, Yuu
0d1a5b3030
v1.0.3
před 9 roky
Yamashita, Yuu
d74daad8f5
v1.0.2 ( fixes #709 )
před 9 roky
Mislav Marohnić
d0779fc8fb
Expand literal tilde in PATH
The literal tilde in a PATH entry (e.g. `~/.rbenv/shims`) doesn't seem
to be supported by system `which` utility, but *does* seem to be
supported by `command -v` (used in `rbenv-which`) and `type -p`.
Therefore, we must strip away `~/.rbenv/shims` from PATH when looking up
executables for system Ruby, lest we risk infinite loop. We do so by
substituting any occurence of `~` in PATH with the value of `HOME`.
před 9 roky
Yamashita, Yuu
a0c5fe42e9
v1.0.1 ( #694 )
před 9 roky
Yamashita, Yuu
7fadd939ad
v1.0.0 ( fixes #520 )
před 10 roky
Yamashita, Yuu
fb757053c8
Show meaningful message on missing executable ( fixes #610 )
před 10 roky
Yamashita, Yuu
6030ea51e4
Add a workaround for system executables in `/bin`
před 10 roky
Yamashita, Yuu
7da05ee964
v20160726
před 10 roky
Yamashita, Yuu
4df7cf2dd6
Add workaround for `/bin/python` ( #628 )
před 10 roky
Yamashita, Yuu
e93ae00ca1
Write help message to stdout just like other commands ( #650 , #651 )
před 10 roky
Yamashita, Yuu
26ac59fd1d
Write help message to stdout
před 10 roky
Yamashita, Yuu
7860ad5268
Help message should not be written to stdout for `sh-` commands ( yyuu/pyenv#650 )
před 10 roky
Yamashita, Yuu
25d3ca7fdf
Messages should not be written in stdout if the command is `sh-` command ( fixes #650 )
před 10 roky
Josh Friend
7d709586ee
v20160629
před 10 roky
Yamashita, Yuu
9cd200b98c
v20160628 ( fixes #644 )
před 10 roky
McTavish McArdle
5f20bc258f
"." has been deprecated in the fish shell in favor of explicit "source"
před 10 roky
Yamashita, Yuu
2017dd0c25
v20160509
před 10 roky
Mike Busch
d246e20764
unset CDPATH if it's set by the user
před 10 roky
Josh Friend
78b9cee98e
v20160422
před 10 roky
Jack Maney
e92a7de031
Fixed version date
`s/2015/2016/`
před 10 roky
Josh Friend
8ef30d9e4d
v20160310
před 10 roky
Yamashita, Yuu
be3fc6d8cb
Fix broken `pyenv local`
před 10 roky
Yamashita, Yuu
7467c88780
v20160303
před 10 roky