command not found
If the following error message is shown when trying to run thefuck:
Ensure that ~/.local/bin is present in your path. eg. add PATH="$PATH:$HOME/.local/bin" to .bashrc, .zshrc etc.
WSL: Fix slowness
On Windows Subsystem for Linux, it's possible to experience very slow command execution (~10+ seconds). This is due to the Windows PATH being appended to the $PATH variable by default.
On WSL after installing, change the ~/.config/thefuck/settings.py to include
to avoid slowness. For more info, see this comment.
Usage on Android (or other systems that forbid access to /proc
The Fuck tries to guess the shell by inspecting its parent processes. That information lives in /proc and if your user can't access /proc you must specify the shell:
or