git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash/aliases.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bash/aliases.bash b/.bash/aliases.bash
index dff312a..dd36794 100644
--- a/.bash/aliases.bash
+++ b/.bash/aliases.bash
@@ -227,6 +227,9 @@ for cmmd in batcat bat; do
break
fi
done
+if command -v 'thefuck' > /dev/null; then
+ alias wtf='thefuck $(fc -nl -1)'
+fi
# Flake8. Nice linter, but...
# They kneeled to USER STUPIDITY when it comes to configuration. Wut?
# https://flake8.pycqa.org/en/latest/release-notes/4.0.0.html#backwards-incompatible-changes