An extension for the xonsh shell to use thefuck.
pip install xontrib-thefuck
Either type the following or add it to your xonshrc
xontrib load thefuck