tldr/pages/common/fuck.md

17 lines
352 B
Markdown
Raw Normal View History

2016-11-06 13:13:46 +00:00
# fuck
> Corrects your previous console command.
2019-06-07 11:58:17 +01:00
> More information: <https://github.com/nvbn/thefuck>.
2016-11-06 13:13:46 +00:00
- Set the `fuck` alias to `thefuck` tool:
`eval "$(thefuck --alias)"`
- Try to match a rule for the previous command:
`fuck`
2021-06-06 16:12:47 +01:00
2021-06-14 08:35:16 +01:00
- Confirm the first choice immediately (correct argument depends on level of annoyance):
2021-06-06 16:12:47 +01:00
`fuck --{{yes|yeah|hard}}`