eBPF-based security platform
bpm: complete build command inputs
John Fastabendb11b2750f386
diff --git a/completion/shirudo.bash b/completion/shirudo.bashindex 67a9aa46..029bd1c8 100644--- a/completion/shirudo.bash+++ b/completion/shirudo.bash@@ -90,6 +90,14 @@ _shirudo()COMPREPLY=( $(compgen -W "--key-file=" -- "$cur") )elif [[ $sub == repo && cword -eq 3 ]]; thenCOMPREPLY=( $(compgen -W "update" -- "$cur") )+ elif [[ $sub == build && ${COMP_WORDS[COMP_CWORD-1]} == -f ]]; then+ COMPREPLY=( $(compgen -f -- "$cur") )+ elif [[ $sub == build && ${COMP_WORDS[COMP_CWORD-1]} == --keys-dir ]]; then+ COMPREPLY=( $(compgen -d -- "$cur") )+ elif [[ $sub == build && $cur == -* ]]; then+ COMPREPLY=( $(compgen -W "-f --version --keys-dir" -- "$cur") )+ elif [[ $sub == build ]]; then+ COMPREPLY=( $(compgen -d -- "$cur") )elif [[ $sub == tree && cword -eq 3 ]]; thenCOMPREPLY=( $(compgen -W "sync append" -- "$cur") )elif [[ $sub == tree && ${COMP_WORDS[3]} == sync && $cur == -* ]]; then