Skip to main content

asym completion

Generate an autocompletion script for asym in your shell of choice. Supported shells: bash, zsh, fish, and powershell.
asym completion [shell]
$ asym completion --help

Generate the autocompletion script for asym for the specified shell.
See each sub-command's help for details on how to use the generated script.

Usage:
  asym completion [command]

Available Commands:
  bash        Generate the autocompletion script for bash
  fish        Generate the autocompletion script for fish
  powershell  Generate the autocompletion script for powershell
  zsh         Generate the autocompletion script for zsh

Flags:
  -h, --help   help for completion

bash

asym completion bash > /etc/bash_completion.d/asym
Or for a single session:
source <(asym completion bash)
$ asym completion bash

# bash completion for asym                                 -*- shell-script -*-

__asym_debug()
{
    if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then
        echo "$*" >> "${BASH_COMP_DEBUG_FILE}"
    fi
}

# ...

zsh

asym completion zsh > "${fpath[1]}/_asym"
Or for a single session:
source <(asym completion zsh)

fish

asym completion fish | source
To persist across sessions:
asym completion fish > ~/.config/fish/completions/asym.fish

powershell

asym completion powershell | Out-String | Invoke-Expression

Flags

FlagDescription
-h, --helpHelp for completion