Assume pmd is in the PATH already when enabling completion
This commit is contained in:
1 parent
7792404e7d
commit
508034d4dd
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user