From 9257f8bd2ca5ba154ce53440a7e59928e742f885 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Fri, 22 May 2026 15:13:34 +0200 Subject: [PATCH] =?utf8?q?Rozpocz=C4=99cie=20tworzenia=20plik=C3=B3w=20dla?= =?utf8?q?=20bash-complete.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../complete/immudex-branch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 immudex-complete-project/complete/immudex-branch diff --git a/immudex-complete-project/complete/immudex-branch b/immudex-complete-project/complete/immudex-branch new file mode 100644 index 0000000..23eeafa --- /dev/null +++ b/immudex-complete-project/complete/immudex-branch @@ -0,0 +1,19 @@ +# immudex-branch completion -*- shell-script -*- + +idx_simple_options_complete() +{ + local cur; + + COMPREPLY=(); + cur=${COMP_WORDS[COMP_CWORD]}; + + if [ $COMP_CWORD -eq 1 ]; then + COMPREPLY=( $(compgen -W '-h -v' -- $cur) ); + elif [ $COMP_CWORD -eq 2 ]; then + return 0; + fi + return 0; +} && + complete -F idx_simple_options_complete immudex-branch + +# ex: filetype=sh -- 2.39.5