From 0cea5ecc943395a832a1790fab95ad71d6836c8b Mon Sep 17 00:00:00 2001 From: Pablo Aguiar Date: Sun, 2 Jan 2022 13:57:16 +0100 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Troubleshooting.md b/Troubleshooting.md index 772c228..7eb1955 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -17,3 +17,15 @@ excluded_search_path_prefixes = ['/mnt/'] ``` to avoid slowness. For more info, see [this comment](https://github.com/nvbn/thefuck/issues/1036#issuecomment-773641630). + +# 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: + +```bash +eval $(TF_SHELL=bash thefuck --alias) +``` +or +```fish +TF_SHELL=fish thefuck --alias | source +```