mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-06-16 07:45:08 +02:00
12 lines
425 B
Bash
12 lines
425 B
Bash
#/usr/bin/env bash
|
|
|
|
_snow_chibi_completions() {
|
|
if [ "${#COMP_WORDS[@]}" -gt "2" ]
|
|
then
|
|
COMPREPLY=($(compgen -f -- "${COMP_WORDS[COMP_CWORD]}"))
|
|
else
|
|
COMPREPLY=($(compgen -W "search show install upgrade remove status package gen-key reg-key sign verify upload index update implementations help" "${COMP_WORDS[COMP_CWORD]}"))
|
|
fi
|
|
}
|
|
|
|
complete -o bashdefault -F _snow_chibi_completions snow-chibi
|