1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 02:41:10 +01:00

Fixing fish shell example in README.md

For me, `$history[1]` is the currently running command, so for the last one you want `$history[2]`
This commit is contained in:
Jonathan Arnett 2015-04-23 18:35:18 -04:00
parent 48ec853436
commit 1fa7827f1a

View File

@ -124,7 +124,7 @@ Or in `config.fish`:
```fish ```fish
function fuck function fuck
eval (thefuck $history[1]) eval (thefuck $history[2])
end end
``` ```