2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-25 09:06:24 +00:00

update command line docs

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2023-06-04 14:47:40 +02:00
parent 9abb66ad1d
commit 2970af4873
Signed by: adphi
GPG Key ID: 46BE4062DB2397FF
2 changed files with 6 additions and 2 deletions

View File

@ -21,7 +21,7 @@ To load completions for every new session, execute once:
#### macOS:
d2vm completion bash > /usr/local/etc/bash_completion.d/d2vm
d2vm completion bash > $(brew --prefix)/etc/bash_completion.d/d2vm
You will need to start a new shell for this setup to take effect.

View File

@ -11,6 +11,10 @@ to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(d2vm completion zsh)
To load completions for every new session, execute once:
#### Linux:
@ -19,7 +23,7 @@ To load completions for every new session, execute once:
#### macOS:
d2vm completion zsh > /usr/local/share/zsh/site-functions/_d2vm
d2vm completion zsh > $(brew --prefix)/share/zsh/site-functions/_d2vm
You will need to start a new shell for this setup to take effect.