Jason Karns
fe809ea90d
Remove support for legacy global version files
`default` was made legacy back in 2011 with
5be66da9f4 (the command was renamed from
`rbenv-default` to `rbenv-global`, and so the global file was renamed
from `$RBENV_ROOT/default` to `$RBENV_ROOT/global` (the latter taking
precedence)
`global` was then made legacy about a month later in Sep 2011 when the
preferred filename was changed to `$RBENV_ROOT/version`.
před 10 roky
Sam Stephenson
4c19dc22d7
Improve syntax for inline documentation and allow for multi-line usage
před 13 roky
Sam Stephenson
0a4ffcd15f
Global version file is now `${RBENV_ROOT}/version`
This is the last time it'll change. Promise.
před 15 roky
Sam Stephenson
f1ca8906c0
Completions for global, local, prefix, shell
před 15 roky
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
před 15 roky
Sam Stephenson
c36950a7cb
RBENV_HOME -> RBENV_ROOT
před 15 roky
Sam Stephenson
7ac964353f
RBENV_HOME -> RBENV_ROOT
před 15 roky
Alexander Rinass
5130f0464a
Support install locations other than $HOME/.rbenv.
Define RBENV_HOME env variable in libexec/rbenv and let all script delegates use this variable to determine rbenv's install location.
před 15 roky
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
před 15 roky
Sam Stephenson
506bc3634f
Extract rbenv-version-file{,-read,-write}
před 15 roky
Graham Ashton
1ed231cb21
Report default or local version.
If no argument is passed to the default or local sub commands, report
the currently configured version.
před 15 roky
Graham Ashton
7a0cde9a4e
Remove set- prefix from local and default commands.
před 15 roky
Andreas Johansson
6938692ca2
Fix argument that cannot be sent to bash via env
/usr/bin/env seems to have problems with arguments to bash on some
platforms. To bypass this, use set -e instead.
před 15 roky
Sam Stephenson
86362408f1
rbenv-path -> rbenv-prefix
před 15 roky
Joshua Peek
43624943ee
Move subcommands into libexec/
před 15 roky
Joshua Peek
c957d83b3a
Shebang -e flag
před 15 roky
Sam Stephenson
6ec91083d8
Add rbenv-set-local
před 15 roky
Sam Stephenson
af6b06743b
Extract rbenv-path
před 15 roky
Sam Stephenson
1da746543f
Add missing `set -e`
před 15 roky
Sam Stephenson
99035a49a9
Initial commit
před 15 roky