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 +```