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.

Usage

edjx completion <script>

Options

Option Required Type Description

<script>

Yes

string

Select one of the scripts to use.
bash
zsh
fish
powershell

Global Flags

Option Required Type Description

-h, --help

No

Displays inline help for the command.

--config <file-location>

No

string

Location of client configuration file (default file path is $HOME/.edjx/.edjx.yaml).

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.

fish

edjx completion fish | source

To load completions for each session:

edjx completion fish > ~/.config/fish/completions/yourprogram.fish

powershell

edjx completion powershell