From 82ee64907558fee6d4e6cf6119d2f3aa14164c72 Mon Sep 17 00:00:00 2001 From: Patrick Fenner Date: Tue, 23 May 2017 12:54:19 +0100 Subject: [PATCH] Ensure the path variable is set if command not found after installing --- Shell-aliases.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Shell-aliases.md b/Shell-aliases.md index d6a05ea..3853feb 100644 --- a/Shell-aliases.md +++ b/Shell-aliases.md @@ -49,4 +49,14 @@ pip install xontrib-thefuck And then load it (you can add this to xonshrc for it to be loaded in every xonsh session): ``` xontrib load thefuck -``` \ No newline at end of file +``` + +# Troubleshooting + +If the following error message is shown when trying to run `thefuck`: + +``` +command not found: thefuck +``` + +Ensure that `~/.local/bin` is present in your path. eg. add `PATH="$PATH:$HOME/.local/bin"` to `.bashrc`, `.zshrc` etc. \ No newline at end of file