Use 'thefuck' if available
This commit is contained in:
@@ -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
|
||||||
# =========
|
# =========
|
||||||
|
|||||||
Reference in New Issue
Block a user