mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 02:01:13 +00:00
Update README.md
This commit is contained in:
parent
13c606afac
commit
636ce7c507
@ -61,6 +61,14 @@ And add to `.bashrc` or `.zshrc`:
|
|||||||
alias fuck='$(thefuck $(fc -ln -1))'
|
alias fuck='$(thefuck $(fc -ln -1))'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or in `config.fish`:
|
||||||
|
|
||||||
|
```fish
|
||||||
|
function fuck
|
||||||
|
eval (thefuck (history | head -n1))
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
## How it works
|
## How it works
|
||||||
|
|
||||||
The Fuck tries to match rule for the previous command, create new command
|
The Fuck tries to match rule for the previous command, create new command
|
||||||
|
Loading…
x
Reference in New Issue
Block a user