# stg-completion

## NAME



           stg-completion - Support for shell completions
    


## SYNOPSIS



           _stg completion bash_ [OPTIONS]
           _stg completion fish_ [OPTIONS]
           _stg completion zsh_ [OPTIONS]
           _stg completion list aliases_ [OPTIONS]
           _stg completion list commands_ [OPTIONS]
           _stg completion list commands-and-aliases_ [OPTIONS]
           _stg completion list help aliases_
           _stg completion list help commands_
           _stg completion list help commands-and-aliases_
           _stg completion list help help_
           _stg completion man_ [OPTIONS]
           _stg completion help bash_
           _stg completion help fish_
           _stg completion help zsh_
           _stg completion help list aliases_
           _stg completion help list commands_
           _stg completion help list commands-and-aliases_
           _stg completion help man_
           _stg completion help help_
    


## DESCRIPTION



           Support completions for bash, fish, and zsh. Also provides _stg_
           _completion list_ command for dynamically introspecting StGit’s
           commands and aliases.
    


## COMMANDS



           bash
               Generate bash completion script
    
           fish
               Generate fish shell completion script
    
           zsh
               Generate zsh completion script
    
           list aliases
               List aliases
    
           list commands
               List StGit commands
    
           list commands-and-aliases
               List StGit commands and aliases
    
           man
               Generate man pages in asciidoc format. The generated asciidoc
               files may be further processed by asciidoc or asciidoctor to
               produce roff, html, or other output formats.
    
               One file is generated for each **stg** command. The output
               directory defaults to the current directory, but may be
               specified with _--output_. The output files are named
               **stg- <command>.txt**.
    


## OPTIONS



           -o <path>, --output=<path>
               Output to <path>
    
       **BASH OPTIONS**
           -o <path>, --output=<path>
               Output completion script to <path>
    
       **FISH OPTIONS**
           -o <path>, --output=<path>
               Output completion script to <path>
    
       **ZSH OPTIONS**
           -o <path>, --output=<path>
               Output completion script to <path>
    
       **LIST ALIASES OPTIONS**
           --show-expansion
               Show alias expansion
    
           --style=(name-only|asciidoc|fish|zsh)
               Choose output format style
    
           -o <path>, --output=<path>
               Output to <path>
    
       **LIST COMMANDS OPTIONS**
           --style=(name-only|asciidoc|fish|zsh)
               Choose output format style
    
           -o <path>, --output=<path>
               Output to <path>
    
       **LIST COMMANDS-AND-ALIASES OPTIONS**
           --style=(name-only|asciidoc|fish|zsh)
               Choose output format style
    
           -o <path>, --output=<path>
               Output to <path>
    
       **MAN OPTIONS**
           -o <dir>, --output=<dir>
               Output man pages to <dir>
    


## STGIT



           Part of the StGit suite - see stg(1)
    


* * *