diff options
| author | Bradley Taunt <bt@btxx.org> | 2025-08-05 12:23:40 -0400 |
|---|---|---|
| committer | Bradley Taunt <bt@btxx.org> | 2025-08-05 12:23:40 -0400 |
| commit | b73a4150debc2928f54795b307a6031f22a7593b (patch) | |
| tree | 6d0b790aed1268f0389a6c7b490d5cf1606022a7 | |
| parent | b6f2b9b9e12ae8d744fc06d4d49bb96648f9de37 (diff) | |
Update older rbenv post for fish shell settings
| -rw-r--r-- | posts/Building_rbenv_on_OpenBSD_7.5.md | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/posts/Building_rbenv_on_OpenBSD_7.5.md b/posts/Building_rbenv_on_OpenBSD_7.5.md index 3da1fad..f9a011a 100644 --- a/posts/Building_rbenv_on_OpenBSD_7.5.md +++ b/posts/Building_rbenv_on_OpenBSD_7.5.md @@ -24,10 +24,23 @@ export RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local" eval "$(rbenv init -)" ~~~ -Then reload your shell (zsh in this example): +Or if you're using `fish` like I am most of the time: ~~~sh +set -x PATH $HOME/.rbenv/bin $PATH +set -x PATH $HOME/.rbenv/shims $PATH +set -x RUBY_CONFIGURE_OPTS "--with-openssl-dir=/usr/local" +status --is-interactive; and source (rbenv init -|psub) +~~~ + +Then reload your shell: + +~~~sh +# zsh source ~/.zshrc + +# fish +. ~/.config/fish/config.fish ~~~ Next we will need to install `ruby-build` as a `rbenv` plugin. Clone the ruby-build repository into the rbenv plugins directory: |
