From 97ca6192473162f34454cf92caa5ce40de46cb19 Mon Sep 17 00:00:00 2001 From: Oscar Tin Yiu Lai Date: Sat, 26 May 2018 21:18:13 +1000 Subject: [PATCH] Check interactive mode instead of login shell --- conf.d/pyenv.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/pyenv.fish b/conf.d/pyenv.fish index 1e78700..2f73f1e 100644 --- a/conf.d/pyenv.fish +++ b/conf.d/pyenv.fish @@ -12,7 +12,7 @@ else set pyenv_root "$PYENV_ROOT" end -if status --is-login +if status --is-interactive set -x PATH "$pyenv_root/shims" $PATH set -x PYENV_SHELL fish end