fuck
Corrects your previous console command. More information: https://github.com/nvbn/thefuck.
- Set the
fuck
alias tothefuck
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}}