bash.d/20-rbenv
Ole-Morten Duesund 9dded655fc Consolidate rbenv setup into single 20-rbenv script
Merge 10-rbenv-path (disabled, PATH-only) into 20-rbenv (active, init),
so both path_prepend and rbenv init live under one existence guard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:13:42 +01:00

6 lines
211 B
Text
Executable file

# shellcheck shell=bash
# Initialize rbenv (Ruby version manager)
if [[ -x "$HOME/.rbenv/bin/rbenv" ]]; then
path_prepend "$HOME/.rbenv/bin"
eval "$("$HOME/.rbenv/bin/rbenv" init - --no-rehash bash)"
fi