logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zsysctl-completion - Generates completion scripts (will attempt to automatically detect shell)

Description

       To  load completions: NOTE: When shell type isn't defined shell will be automatically identified based on
       the $SHELL environment vairable

       Bash:

       source <(zsysctl completion bash)

       # To load completions for each session, execute once:
       # Linux:
       zsysctl completion bash > /etc/bash_completion.d/zsysctl
       # macOS:
       zsysctl completion bash > /usr/local/etc/bash_completion.d/zsysctl

       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, execute once:
       zsysctl completion zsh > "${fpath[1]}/_zsysctl"

       # You will need to start a new shell for this setup to take effect.

       PowerShell:

       zsysctl completion powershell | Out-String | Invoke-Expression

       # To load completions for every new session, run:
       zsysctl completion powershell > zsysctl.ps1
       # and source this file from your PowerShell profile.

History

       15-Mar-2025 Auto generated by spf13/cobra

Auto generated by spf13/cobra                       Mar 2025                                    ZSYS:zsysctl(1)

Name

       zsysctl-completion - Generates completion scripts (will attempt to automatically detect shell)

Options

-h, --help[=false]      help for completion

Options Inherited From Parent Commands

-v, --verbose[=0]      issue INFO (-v) and DEBUG (-vv) output

See Also

zsysctl(1)

Synopsis

zsysctlcompletion[bash|zsh|powershell][flags]

See Also