From 3ac0d4b71e27395b1289833a5e18cc2e7ac3aed4 Mon Sep 17 00:00:00 2001 From: speckdavid Date: Fri, 19 Jul 2024 12:02:45 +0200 Subject: [PATCH] imporved tab completion --- TABCOMPLETION.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/TABCOMPLETION.md b/TABCOMPLETION.md index 3e7d09ba6e..185e1ca8dc 100644 --- a/TABCOMPLETION.md +++ b/TABCOMPLETION.md @@ -1,20 +1,14 @@ ## Tab completion for Fast Downward -We support tab completion for bash and zsh based on the python package [argcomplete](https://pypi.org/project/argcomplete/) which can be installed via apt +We support tab completion for bash and zsh based on the python package [argcomplete](https://pypi.org/project/argcomplete/). For full support, use at least version 3.3 which can be installed via `pip`. ```bash -sudo apt install python3-argcomplete -``` - -or pip - -```bash -pip install argcomplete +pip install argcomplete>=3.3 ``` After the installation, add the following commands to your `.bashrc` or `.zshrc`. Depending on your installation replace `register-python-argcomplete` with `register-python-argcomplete3`. -``` +```bash eval "$(register-python-argcomplete fast-downward.py)" eval "$(register-python-argcomplete build.py)" eval "$(register-python-argcomplete translate.py)"