Process compose completion zsh
process-compose completion zsh
Generate the autocompletion script for zsh
Synopsis
Generate the autocompletion script for the zsh shell.
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 in your current shell session:
source <(process-compose completion zsh)
To load completions for every new session, execute once:
Linux:
process-compose completion zsh > "${fpath[1]}/_process-compose"
macOS:
process-compose completion zsh > $(brew --prefix)/share/zsh/site-functions/_process-compose
You will need to start a new shell for this setup to take effect.
Options
Options inherited from parent commands
-L, --log-file string Specify the log file path (env: PC_LOG_FILE) (default "/tmp/process-compose-<user>.log")
--no-server disable HTTP server (env: PC_NO_SERVER)
--ordered-shutdown shut down processes in reverse dependency order
-p, --port int port number (env: PC_PORT_NUM) (default 8080)
--read-only enable read-only mode (env: PC_READ_ONLY)
-u, --unix-socket string path to unix socket (env: PC_SOCKET_PATH) (default "/tmp/process-compose-<pid>.sock")
-U, --use-uds use unix domain sockets instead of tcp
SEE ALSO
- process-compose completion - Generate the autocompletion script for the specified shell