Assume pmd is in the PATH already when enabling completion

This commit is contained in:
Juan Martín Sotuyo Dodero committed 2023-10-19 20:27:04 -03:00
1 parent 7792404e7d
commit 508034d4dd
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ On Windows this is achieved by:
PMD ships with built-in completion support for Bash / Zsh.
To enable it, simply add `source <(*path_to_pmd*/bin/pmd generate-completion)` to your `~/.bashrc` / `~/.zshrc` file.
To enable it, simply add `source <(pmd generate-completion)` to your `~/.bashrc` / `~/.zshrc` file.
## Running PMD via command line
+1 -1
View File
@@ -419,7 +419,7 @@ Finally, we now provide a completion script for Bash/Zsh to further help daily u
To use it, edit your `~/.bashrc` / `~/.zshrc` file and add the following line:
```
source <(*path_to_pmd*/bin/pmd generate-completion)
source <(pmd generate-completion)
```
Contributors: [Juan Martín Sotuyo Dodero](https://github.com/jsotuyod) (@jsotuyod)