Use 'thefuck' if available

This commit is contained in:
2016-09-14 10:38:13 -07:00
parent 76ac52e0ad
commit 93af812abb

View File

@@ -28,10 +28,20 @@ set --universal fish_greeting
# ======== # ========
# Autojump # Autojump
# https://github.com/wting/autojump
# ======== # ========
[ -f /usr/local/share/autojump/autojump.fish ]; and . /usr/local/share/autojump/autojump.fish [ -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 # Functions
# ========= # =========