github.com/cilium/cilium@v1.16.2/Documentation/cmdref/cilium-agent_completion_zsh.md (about) 1 <!-- This file was autogenerated via cilium-agent --cmdref, do not edit manually--> 2 3 ## cilium-agent completion zsh 4 5 Generate the autocompletion script for zsh 6 7 ### Synopsis 8 9 Generate the autocompletion script for the zsh shell. 10 11 If shell completion is not already enabled in your environment you will need 12 to enable it. You can execute the following once: 13 14 echo "autoload -U compinit; compinit" >> ~/.zshrc 15 16 To load completions in your current shell session: 17 18 source <(cilium-agent completion zsh) 19 20 To load completions for every new session, execute once: 21 22 #### Linux: 23 24 cilium-agent completion zsh > "${fpath[1]}/_cilium-agent" 25 26 #### macOS: 27 28 cilium-agent completion zsh > $(brew --prefix)/share/zsh/site-functions/_cilium-agent 29 30 You will need to start a new shell for this setup to take effect. 31 32 33 ``` 34 cilium-agent completion zsh [flags] 35 ``` 36 37 ### Options 38 39 ``` 40 -h, --help help for zsh 41 --no-descriptions disable completion descriptions 42 ``` 43 44 ### SEE ALSO 45 46 * [cilium-agent completion](cilium-agent_completion.md) - Generate the autocompletion script for the specified shell 47