Bagikan melalui


BlobFuse2 completion zsh command

Use the blobfuse2 completion zsh command to generate the autocompletion script for BlobFuse2 for the zsh shell.

Sintaksis

blobfuse2 completion zsh --[flag-name]=[flag-value]

Penanda (opsi)

Bendera yang berlaku untuk blobfuse2 completion zsh diwarisi dari perintah induk, blobfuse2, atau hanya berlaku untuk subkomando blobfuse2 completion.

Bendera yang diwariskan dari perintah BlobFuse2

Bendera berikut diwariskan dari perintah blobfuse2kakek-nenek :

Flag Versi pendek Jenis nilai Nilai standar Deskripsi
disable-version-check boolean tidak benar Mengaktifkan atau menonaktifkan pemeriksaan versi otomatis biner BlobFuse2
help -h n/a Help info for the blobfuse2 command and subcommands

Flags that apply to the BlobFuse2 completion subcommands

Penanda berikut hanya berlaku untuk subperintah blobfuse2 completion:

Flag Jenis nilai Nilai standar Deskripsi
no-descriptions boolean tidak benar Disable completion descriptions

Penggunaan

If shell completion is not already enabled in your environment you will need to enable it. To do so, run the following command once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

source <(blobfuse2 completion zsh); compdef _blobfuse2 blobfuse2

Untuk memuat penyelesaian untuk setiap sesi baru, jalankan sekali:

  • Di Linux:

    blobfuse2 completion zsh > "${fpath[1]}/_blobfuse2"

  • Di macOS:

    blobfuse2 completion zsh > /usr/local/share/zsh/site-functions/_blobfuse2

Nota

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

Lihat juga