Try if thefuck is installed
This commit is contained in:
parent
47e1f4bf86
commit
f2b9c72a94
|
@ -42,4 +42,9 @@ alias lsd="ls"
|
|||
alias j="jump"
|
||||
|
||||
# Initialize thefuck
|
||||
eval $(thefuck --alias)
|
||||
command -v thefuck > /dev/null 2>&1
|
||||
|
||||
# fuck aliases
|
||||
if [ $? -eq 0 ]; then
|
||||
eval $(thefuck --alias)
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue