Daniel Hahler
5f8a4c4d62
Fix some issues reported by shellcheck
9 years ago
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.
11 years ago
Sam Stephenson
4b6c91e827
Usage consistency
13 years ago
Mislav Marohnić
3436bddaea
new-style documentation for most commands
13 years ago
Sam Stephenson
e2e474c59d
Add `rbenv help --usage`
13 years ago
Sam Stephenson
4c19dc22d7
Improve syntax for inline documentation and allow for multi-line usage
13 years ago
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
13 years ago
Sam Stephenson
03d664e048
Completion for whence
15 years ago
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
15 years ago
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.
15 years ago
Sam Stephenson
4668a2e2ed
rbenv-whence requires a command argument
15 years ago
Sam Stephenson
d257b562e5
Add rbenv-whence to show you which versions of Ruby have a given command
15 years ago