git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2025-08-21 10:24:34 +0200
committermail_redacted_for_web 2025-08-21 10:26:00 +0200
commit4562a4e91270b2745a00284448b69ca6f5e59c75 (patch)
tree05f8e5eee3e9422e72d20d750e3c2f97208becae
parent594750cd580601b6bfc92627dc51ce0a1346a3de (diff)
downloaddotfiles-4562a4e91270b2745a00284448b69ca6f5e59c75.tar.bz2
integrate direct thefuck alias, wtf, into aliases
-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