]> arthur.barton.de Git - OhMyZshExtensions.git/blobdiff - plugins/thefuck/thefuck.plugin.zsh
Revert "Change plugins to not do anything if tool isn't available"
[OhMyZshExtensions.git] / plugins / thefuck / thefuck.plugin.zsh
index 754d342168bb94615b0d5f50fa717736c30150ba..4042544c7173256d1ec4c3e02f84621d6aa6812a 100644 (file)
@@ -1,5 +1,3 @@
 # thefuck.plugin.zsh
 
-if (( $+commands[thefuck] )); then
-       alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
-fi
+alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'