commands.sh

gcrane completion

linuxmacos

Generate the autocompletion script for gcrane for the specified shell. The available shells are Bash, fish, PowerShell, and Zsh.

More info →

Options (1)

-h, --helpboolean

Display help

Example: gcrane completion {{shell_name}} {{[-h|--help]}}

Examples (8)

Generate the autocompletion script for your shell

Disable completion descriptions

gcrane completion shell_name --no-descriptions

Load completions in your current shell session (Bash/Zsh)

source <(gcrane completion bash/zsh)

Load completions in your current shell session (fish)

Load completions for every new session (Bash)

gcrane completion bash > /etc/bash_completion.d/gcrane

Load completions for every new session (Zsh)

gcrane completion zsh > "${fpath[1]}/_gcrane"

Load completions for every new session (fish)

gcrane completion fish > ~/.config/fish/completions/gcrane.fish

Display help

gcrane completion shell_name [-h|--help]
made by @shridhargupta | data from tldr-pages