Daniel Hahler
5f8a4c4d62
Fix some issues reported by shellcheck
před 9 roky
Mislav Marohnić
e851250da6
Speed up obtaining `exec/which/whence` completions
Delegate to `rbenv-shims` instead of `rbenv shims` and therefore skip
going through the main `rbenv` executable again that would set up a lot
of the environment that was already set.
před 11 roky
Sam Stephenson
4b6c91e827
Usage consistency
před 13 roky
Mislav Marohnić
3436bddaea
new-style documentation for most commands
před 13 roky
Sam Stephenson
e2e474c59d
Add `rbenv help --usage`
před 13 roky
Sam Stephenson
4c19dc22d7
Improve syntax for inline documentation and allow for multi-line usage
před 13 roky
Mislav Marohnić
b8715bfee6
foundation for a help system where each command holds its own docs
Docs are comprised from "Usage", "Summary" and "Help" sections, where
"Help" can span multiple commented lines. If it is missing, "Summary" is
shown in its place.
References #204 , references #206
před 13 roky
Sam Stephenson
03d664e048
Completion for whence
před 15 roky
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
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
4668a2e2ed
rbenv-whence requires a command argument
před 15 roky
Sam Stephenson
d257b562e5
Add rbenv-whence to show you which versions of Ruby have a given command
před 15 roky