0

I've been trying xonsh and I don't get used to it, so I would like to uninstall it given that I need to work.

How can I get back to my previous (default) terminal configuration?

1

Finally I've uninstall it. I think it may be good to answer my own question because it is not answered specifically for xonsh in all the Internet.

 First: Changing the default login shell

This is done just by running chsh -s /bin/bash in the command line.

See: How to uninstall zsh.

 Finally: Unistall xonsh

Now that you can use your previous terminal configuration you only need to uninstall it using the tool you used to install it (conda, pip, macports, homebrew...). In my case it was homebrew so I've run brew uninstall xonsh.

EDIT: as @BradPitcher writes in the comments if you take these two steps in the wrong order, you may run into the error "Your shell is not in /etc/shells". You can workaround this problem by running sudo usermod -s /bin/bash.

| improve this answer | |
  • Thank you for coming back to answer the question :-) I thought I should mention that if you take these two steps in the wrong order, you may run into the error "Your shell is not in /etc/shells". You can workaround this problem by running sudo usermod -s /bin/bash – Brad Pitcher Aug 17 '16 at 23:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .