github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/docs/2-the-jackal-cli/100-cli-commands/jackal_completion_zsh.md (about)

     1  # jackal completion zsh
     2  <!-- Auto-generated by hack/gen-cli-docs.sh -->
     3  
     4  Generate the autocompletion script for zsh
     5  
     6  ## Synopsis
     7  
     8  Generate the autocompletion script for the zsh shell.
     9  
    10  If shell completion is not already enabled in your environment you will need
    11  to enable it.  You can execute the following once:
    12  
    13  	echo "autoload -U compinit; compinit" >> ~/.zshrc
    14  
    15  To load completions in your current shell session:
    16  
    17  	source <(jackal completion zsh)
    18  
    19  To load completions for every new session, execute once:
    20  
    21  ### Linux:
    22  
    23  	jackal completion zsh > "${fpath[1]}/_jackal"
    24  
    25  ### macOS:
    26  
    27  	jackal completion zsh > $(brew --prefix)/share/zsh/site-functions/_jackal
    28  
    29  You will need to start a new shell for this setup to take effect.
    30  
    31  
    32  ```
    33  jackal completion zsh [flags]
    34  ```
    35  
    36  ## Options
    37  
    38  ```
    39    -h, --help              help for zsh
    40        --no-descriptions   disable completion descriptions
    41  ```
    42  
    43  ## Options inherited from parent commands
    44  
    45  ```
    46    -a, --architecture string   Architecture for OCI images and Jackal packages
    47        --insecure              Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture.
    48    -l, --log-level string      Log level when running Jackal. Valid options are: warn, info, debug, trace (default "info")
    49        --no-color              Disable colors in output
    50        --no-log-file           Disable log file creation
    51        --no-progress           Disable fancy UI progress bars, spinners, logos, etc
    52        --tmpdir string         Specify the temporary directory to use for intermediate files
    53        --jackal-cache string     Specify the location of the Jackal cache directory (default "~/.jackal-cache")
    54  ```
    55  
    56  ## SEE ALSO
    57  
    58  * [jackal completion](jackal_completion.md)	 - Generate the autocompletion script for the specified shell