about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-09-03T21·42-0700
committerkanepyork <rikingcoding@gmail.com>2020-09-03T22·03+0000
commit67e8f477a1f02195228732a643d5dfce8e21caa7 (patch)
tree0cbae9383579933621b39918e32f96aec76b9e0a
parent68cc9b82241a694aeb4f811e0232365247f78ded (diff)
fix(u/riking/dotfiles): source rbenv config correctly r/1762
Change-Id: I1cf3dfc2d1edd2cb97ca432de5eb03c434b566e3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1929
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Tested-by: BuildkiteCI
-rw-r--r--users/riking/dotfiles/fish/config.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/riking/dotfiles/fish/config.fish b/users/riking/dotfiles/fish/config.fish
index 1867d4f4cf34..c2454762bddf 100644
--- a/users/riking/dotfiles/fish/config.fish
+++ b/users/riking/dotfiles/fish/config.fish
@@ -3,6 +3,6 @@ set -gx GPG_TTY (tty)
 set -gx DEPOT_ROOT "$GOPATH/src/code.tvl.fyi"
 
 set -gx PATH '/usr/local/go/bin' "$HOME/.cargo/bin" "$HOME/.rbenv/bin" $PATH
-eval (rbenv init -)
+status --is-interactive; and rbenv init - | source
 source ~/.opsrc.fish # work
 set -gx PATH "$HOME/go/bin" $PATH