Implement preos

This commit is contained in:
Darko Poljak 2019-09-20 07:15:37 +02:00
commit 799ec72369
95 changed files with 9997 additions and 4 deletions

View file

@ -6,7 +6,7 @@ _cdist()
prev="${COMP_WORDS[COMP_CWORD-1]}"
prevprev="${COMP_WORDS[COMP_CWORD-2]}"
opts="-h --help -q --quiet -v --verbose -V --version"
cmds="banner config install inventory shell"
cmds="banner config install inventory preos shell"
case "${prevprev}" in
shell)

View file

@ -11,7 +11,7 @@ _cdist()
case $state in
opts_cmds)
_arguments '1:Options and commands:(banner config install inventory shell -h --help -q --quiet -v --verbose -V --version)'
_arguments '1:Options and commands:(banner config install inventory preos shell -h --help -q --quiet -v --verbose -V --version)'
;;
*)
case $words[2] in