Skip to content

Commit

Permalink
imporved tab completion
Browse files Browse the repository at this point in the history
  • Loading branch information
speckdavid committed Jul 19, 2024
1 parent 9a833db commit 3ac0d4b
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions TABCOMPLETION.md
Original file line number Diff line number Diff line change
@@ -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)"
Expand Down

0 comments on commit 3ac0d4b

Please sign in to comment.