diff --git a/README.md b/README.md index ecc5b4ad30..0d402bd820 100644 --- a/README.md +++ b/README.md @@ -314,6 +314,24 @@ tracker](https://github.com/sstephenson/rbenv/issues). ### 4.1 Version History +**0.3.0** (December 25, 2011) + +* Added an `rbenv root` command which prints the value of + `$RBENV_ROOT`, or the default root directory if it's unset. +* Clarified Zsh installation instructions in the readme. +* Removed some redundant code in `rbenv rehash`. +* Fixed an issue with calling `readlink` for paths with spaces. +* Changed Zsh initialization code to install completion hooks only for + interactive shells. +* Added preliminary support for ksh. +* `rbenv rehash` creates or removes shims only when necessary instead + of removing and re-creating all shims on each invocation. +* Fixed that `RBENV_DIR`, when specified, would be incorrectly + expanded to its parent directory. +* Removed the deprecated `set-default` and `set-local` commands. +* Added a `--no-rehash` option to `rbenv init` for skipping the + automatic rehash when opening a new shell. + **0.2.1** (October 1, 2011) * Changed the `rbenv` command to ensure that `RBENV_DIR` is always an diff --git a/doc/README.mdtoc b/doc/README.mdtoc index fd7a712490..4215127e54 100644 --- a/doc/README.mdtoc +++ b/doc/README.mdtoc @@ -295,6 +295,24 @@ tracker](https://github.com/sstephenson/rbenv/issues). ### Version History ### +**0.3.0** (December 25, 2011) + +* Added an `rbenv root` command which prints the value of + `$RBENV_ROOT`, or the default root directory if it's unset. +* Clarified Zsh installation instructions in the readme. +* Removed some redundant code in `rbenv rehash`. +* Fixed an issue with calling `readlink` for paths with spaces. +* Changed Zsh initialization code to install completion hooks only for + interactive shells. +* Added preliminary support for ksh. +* `rbenv rehash` creates or removes shims only when necessary instead + of removing and re-creating all shims on each invocation. +* Fixed that `RBENV_DIR`, when specified, would be incorrectly + expanded to its parent directory. +* Removed the deprecated `set-default` and `set-local` commands. +* Added a `--no-rehash` option to `rbenv init` for skipping the + automatic rehash when opening a new shell. + **0.2.1** (October 1, 2011) * Changed the `rbenv` command to ensure that `RBENV_DIR` is always an diff --git a/libexec/rbenv b/libexec/rbenv index 4ef98d8d0e..5fe84333e6 100755 --- a/libexec/rbenv +++ b/libexec/rbenv @@ -60,7 +60,7 @@ shopt -u nullglob command="$1" case "$command" in "" | "-h" | "--help" ) - echo -e "rbenv 0.2.1\n$(rbenv-help)" >&2 + echo -e "rbenv 0.3.0\n$(rbenv-help)" >&2 ;; * ) command_path="$(command -v "rbenv-$command" || true)"