From 93af812abb914f2f271df4c5a8201c750f3b62e1 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Wed, 14 Sep 2016 10:38:13 -0700 Subject: [PATCH] Use 'thefuck' if available --- fish/config.fish | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fish/config.fish b/fish/config.fish index 7b01308..f96c8b7 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -28,10 +28,20 @@ set --universal fish_greeting # ======== # Autojump +# https://github.com/wting/autojump # ======== [ -f /usr/local/share/autojump/autojump.fish ]; and . /usr/local/share/autojump/autojump.fish +# ======= +# thefuck +# https://github.com/nvbn/thefuck +# ======= + +if which -s thefuck + eval (thefuck --alias | tr '\n' ';') +end + # ========= # Functions # =========