Michael Grubb
7e83e07cf3
Made ksh portability changes
Added specific message for ksh in identifying the proper shell
initialization file.
Changed rbenv functiond definition to be more portable.
Shell functions should be defined by using the function command or
using the parenthesis grammar, but using both is not portable:
rbenv() {... -or-
function rbenv { ...
před 14 roky
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
před 15 roky
Sam Stephenson
7ac964353f
RBENV_HOME -> RBENV_ROOT
před 15 roky
Sam Stephenson
fb6eee26d4
Only shift if an argument is passed. Fixes #78 .
před 15 roky
Sam Stephenson
1ba2ce0cb6
Fix quoting in rbenv function
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
Joshua Peek
f9225d9cb4
Define lightweight rbenv shell function to dispatch commands
před 15 roky
Paul Mucur
b7e19b4953
Solaris doesn't support readlink so use greadlink if available instead.
Taken from Ryan Tomayko's "GNU is killing Solaris", c.f. http://tomayko.com/writings/gnu-is-killing-solaris
před 15 roky
Sam Stephenson
b45bce80ca
Source the zsh autocompletion script in rbenv-init
před 15 roky
Sam Stephenson
6d6b1d6002
Run `rbenv rehash` on init
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
2fa7432060
Fix expansion quoting
před 15 roky
Sam Stephenson
9f18fe5031
Automatically create a default of system if it's missing instead of raising an error
před 15 roky
Sam Stephenson
f84dc27c58
Autocreate ~/.rbenv skeleton in rbenv-init
před 15 roky
Sam Stephenson
4ee92fca43
Bare `rbenv init` prints a message; `rbenv init -` prints the init script
před 15 roky
Sam Stephenson
00b8b4db33
Don't need to test if the shims directory is present since rbenv-rehash creates it
před 15 roky
Joshua Peek
917b3687cb
Export $PATH on init
před 15 roky
Joshua Peek
271bfea97d
Don't rehash on init for now
před 15 roky
Joshua Peek
70e1f61337
Quote path
před 15 roky
Joshua Peek
df61a76ab0
Add init command
před 15 roky