Skip to content

Instant fuck mode #682

@nvbn

Description

@nvbn

At the moment thefuck is a bit slow because it needs to rerun a previous command to get an output. But that can be fixed if we'll store the output in some sort of log file. That can be done with:

  • wrap shell in script;
  • log everything in a logfile;
  • instead of rerunning the previous command just parse the logfile.

This method has some problems, the output will be different with different shells and locales. And we'll have combined output instead of separated stdout/stderr. So we need:

  • increase count of patterns in rules;
  • combine stdout and stderr even for a classic mode or just put the output in both for the instant mode.

Related issues: #660, #576, #353.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions