dyuri / xontrib-langenv

pyenv integration for xonsh
MIT License
12 stars 3 forks source link

With Ubuntu 22.04 I can't use this if I load pyenv #8

Closed jd-solanki closed 2 years ago

jd-solanki commented 2 years ago

I tried installing this in my latest ubuntu 22.04 and I added it in .xonshrc file.

Now if I open the terminal it immediately closes within a blink of an eye.

However, I managed to get the output: image

(Actually in order to make it work I added source-bash ~/.bashrc & .profile on top of the .xonshrc) but without them I was getting source-foreign error

dyuri commented 2 years ago

What's the version of xonsh you are using? That change with -n was introduced for xonsh v12, if you are using earlier xonsh, you might use 1.0.6 (if that works I'll update the readme).

jd-solanki commented 2 years ago

I was using apt-get to install xonsh. Now I am using pip and the error doesn't seem to appear.

Closing this.

dyuri commented 2 years ago

I'll add a note to the readme though.