edjx completion
Enables the proper load completion script.
Load completion scripts allow you to auto complete commands or arguments by typing partial commands or arguments, then pressing a dedidicated key to complete the phrase.
Options
Option | Required | Type | Description |
---|---|---|---|
|
Yes |
string |
Select one of the scripts to use. |
Global Flags
Option | Required | Type | Description |
---|---|---|---|
|
No |
Displays inline help for the command. |
|
|
No |
string |
Location of client configuration file (default file path is |
Usage
The CLI allows you to set the following load completions:
bash
source <(edjx completion bash)
To load completions for each session:
edjx completion bash > /etc/bash_completion.d/edjx
zsh
If shell completion is not already enabled in your environment you will need to enable it.
You can execute the following once:
echo "autoload -U compinit;
compinit" >> ~/.zshrc
To load completions for each session:
edjx completion zsh > "${fpath[1]}/_edjx"
You will need to start a new shell for this setup to take effect.