diff --git a/Shell-aliases.md b/Shell-aliases.md index 6590b1a..3d02fb2 100644 --- a/Shell-aliases.md +++ b/Shell-aliases.md @@ -31,4 +31,16 @@ iex "$(thefuck --alias)" ```tcsh alias fuck 'set fucked_cmd=`history -h 2 | head -n 1` && eval `thefuck ${fucked_cmd}`' -``` \ No newline at end of file +``` + +# xonsh + +Install the xonsh extension: +``` +pip install xontrib-thefuck +``` + +And then load it (you can add this to xonshrc for it to be loaded in every xonsh session): +``` +xontrib load thefuck +```