From 90d426790796ebd2ffe80d7f4ebf56cbf085fa39 Mon Sep 17 00:00:00 2001 From: Owen Campbell Date: Sat, 3 Sep 2016 18:58:30 +0100 Subject: [PATCH] Updated Shell aliases (markdown) --- Shell-aliases.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 +```