From 4562a4e91270b2745a00284448b69ca6f5e59c75 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Thu, 21 Aug 2025 10:24:34 +0200 Subject: integrate direct thefuck alias, wtf, into aliases --- .bash/aliases.bash | 3 +++ 1 file changed, 3 insertions(+) (limited to '.bash/aliases.bash') 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 -- cgit v1.2.3