3
[ -n "$RBENV_DEBUG" ] && set -x
5
# Provide rbenv completions
6
if [ "$1" = "--complete" ]; then
12
if [ "$1" = "--sh" ]; then
15
elif [ "$1" = "--no-sh" ]; then
22
{ for path in ${PATH//:/$'\n'}; do
23
for command in "${path}/rbenv-"*; do
24
command="${command##*rbenv-}"
26
if [ ${command:0:3} = "sh-" ]; then
29
elif [ -n "$nosh" ]; then
30
if [ ${command:0:3} != "sh-" ]; then