Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use the blobfuse2 completion zsh command to generate the autocompletion script for BlobFuse2 for the zsh shell.
Syntax
blobfuse2 completion zsh --[flag-name]=[flag-value]
Flags (options)
Flags that apply to blobfuse2 completion zsh are inherited from the grandparent command, blobfuse2, or apply only to the blobfuse2 completion subcommands.
Flags inherited from the BlobFuse2 command
The following flags are inherited from grandparent command blobfuse2:
| Flag | Short version | Value type | Default value | Description |
|---|---|---|---|---|
| disable-version-check | boolean | false | Enables or disables automatic version checking of the BlobFuse2 binaries | |
| help | -h | n/a | Help info for the blobfuse2 command and subcommands |
Flags that apply to the BlobFuse2 completion subcommands
The following flags apply only to the blobfuse2 completion subcommands:
| Flag | Value type | Default value | Description |
|---|---|---|---|
| no-descriptions | boolean | false | Disable completion descriptions |
Usage
If shell completion isn't already enabled in your environment, run the following command to enable it:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(blobfuse2 completion zsh); compdef _blobfuse2 blobfuse2
To load completions for every new session, run once:
On Linux:
blobfuse2 completion zsh > "${fpath[1]}/_blobfuse2"On macOS:
blobfuse2 completion zsh > /usr/local/share/zsh/site-functions/_blobfuse2
Note
You'll need to start a new shell for this setup to take effect.