Skip to content

Instantly share code, notes, and snippets.

Last active Dec 11, 2020
What would you like to do?
zsh completion for assh
#compdef assh
# assh autocompletion for oh-my-zsh
# Requires: assh installed
# Author: Dominik Schilling (@ocean90)
# Install:
# Copy the file to ~/.oh-my-zsh/plugins/assh/_assh and add assh to the plugins list in your ~/.zshrc file.
# Resources:
_arguments \
'(-c --config)'{-c,--config=}'[location of config file]:filename:_files' \
'(-D --debug)'{-D,--debug}'[debug mode]' \
'(-V --verbose)'{-V,--verbose}'[verbose mode]' \
'(-h --help)'{-h,--help}'[show help]' \
'(-v --version)'{-v,--version}'[print the version]' \
'*:host:_hosts' && return 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment