1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/fuck.md

17 lines
352 B
Markdown
Raw Normal View History

2016-11-06 15:13:46 +02: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 15:13:46 +02:00
- Set the `fuck` alias to `thefuck` tool:
`eval "$(thefuck --alias)"`
- Try to match a rule for the previous command:
`fuck`
2021-06-06 17:12:47 +02:00
2021-06-14 08:35:16 +01:00
- Confirm the first choice immediately (correct argument depends on level of annoyance):
2021-06-06 17:12:47 +02:00
`fuck --{{yes|yeah|hard}}`