about summary refs log tree commit diff
path: root/fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish')
-rw-r--r--fish/.config/fish/config.fish5
1 files changed, 4 insertions, 1 deletions
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index c8dc3df..99fadff 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -7,12 +7,15 @@ if test -d ~/Maildir
   set -x MAIL ~/Maildir
 end
 
-for i in ~/bin ~/.yarn/bin ~/.local/bin ~/.cargo/bin
+for i in ~/bin ~/.yarn/bin ~/.rbenv/bin ~/.local/bin ~/.cargo/bin
   if test -d $i && not contains $i $PATH
     set -x fish_user_paths $fish_user_paths $i
   end
 end
 
+# add rbenv paths
+status --is-interactive && type -q rbenv && source (rbenv init -|psub)
+
 #set -x SSH_AGENT_PID ""
 if test -S $HOME/.gnupg/S.gpg-agent
   set -x SSH_AUTH_SOCK $HOME/.gnupg/S.gpg-agent