pyenv icon indicating copy to clipboard operation
pyenv copied to clipboard

Check interactive mode instead of login shell

Open soraxas opened this issue 7 years ago • 1 comments

Related to #12 where pyenv is not being initialized with this plugin.

The current conf.d script checks whether it is login shell or not, if so it will then set the PATH variable.

However, it never triggers in my system (I am using Arch) as I think because the fish shell is never used to Start X, even though fish is my default shell. Therefore, line 16-17 never ended up running. This is related to this comment

I have changed the checking from checking if it's login-shell to checking if it's interactive shell, and it fixes the problem.

soraxas avatar May 26 '18 11:05 soraxas

:+1: can we merge that ?

ovv avatar Aug 24 '18 13:08 ovv