$ fish -version
fish, version 2.4.0
$ brew info thefuck
thefuck: stable 3.11 (bottled), HEAD
Programatically correct mistyped console commands
https://github.com/nvbn/thefuck
$ git statsu
git: 'statsu' is not a git command. See 'git --help'.
Did you mean this?
status
$ fuck
git status
On branch trunk
Your branch is up-to-date with 'apache/trunk'.
nothing to commit, working tree clean
[1] git statsu
[2] history delete --exact --case-sensitive git statsu
Enter nothing to cancel the delete, or
Enter one or more of the entry IDs separated by a space, or
Enter "all" to delete all the matching entries.
Delete which entries? >
I've just run into this recently. Very strange.
Thanks for reporting the issue. We're already looking for ways to fix it.
Looks specific to 2.4.0, I downgraded fish to 2.3.1 and the behaviour is as expected.
@liuml07 and @onewheelskyward would you be willing to try and confirm if #578 fixes this issue for you? This may include installing from master of altering the fuck function by hand.
Thanks!
I tested and it works as a charm. Thanks!
Most helpful comment
I tested and it works as a charm. Thanks!