mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 21:42:41 +00:00
22 lines
445 B
Plaintext
22 lines
445 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# fuck
|
|
|
|
> 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}}`
|