fuck
Corrects your previous console command. More information: <https://github.com/nvbn/thefuck>.
Install
- All systems
-
curl cmd.cat/fuck.sh
- Debian
-
apt-get install thefuck - Ubuntu
-
apt-get install thefuck - Arch Linux
-
pacman -S thefuck - Kali Linux
-
apt-get install thefuck - Fedora
-
dnf install thefuck - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install thefuck - OS X
-
brew install thefuck - Raspbian
-
apt-get install thefuck
Corrects your previous console command. More information: <https://github.com/nvbn/thefuck>.
-
Set the `fuck` alias to `thefuck` tool:
eval "$(thefuck --alias)" -
Try to match a rule for the previous command:
fuck -
Confirm the first choice immediately (correct argument depends on level of annoyance):
fuck --yes|yeah|hard
© tl;dr; authors and contributors