Skip to content

Completion

Completions allow Bash to help with commands and arguments.

This is automatic if you document your functions and provide an error handler.

buildCompletion

Add completion handler for Zesk Build to Bash

Usage

buildCompletion [ --quiet ] [ --alias name ] [ --reload-alias name ]

Add completion handler for Zesk Build to Bash This has the side effect of turning on the shell option expand_aliases Shell Option: +expand_aliases

Arguments

  • --quiet - Flag. Optional. Do not output any messages to stdout.
  • --alias name - String. Optional. The name of the alias to create.
  • --reload-alias name - String. Optional. The name of the alias which reloads Zesk Build. (source)

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error