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?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
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.
This is done just by running
chsh -s /bin/bash in the command line.
See: How to uninstall zsh.
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.