From 776ebd1102b32b79295b98ae5e1ee87fda567077 Mon Sep 17 00:00:00 2001 From: nyxnor Date: Mon, 22 Aug 2022 14:47:16 +0000 Subject: [PATCH] update completions to handle file completion correctly #10 --- usr/share/bash-completion/completions/onionjuggler-cli | 2 +- .../bash-completion/completions/onionjuggler-cli-auth-client | 2 +- .../bash-completion/completions/onionjuggler-cli-auth-server | 2 +- usr/share/bash-completion/completions/onionjuggler-cli-web | 2 +- usr/share/bash-completion/completions/onionjuggler-tui | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usr/share/bash-completion/completions/onionjuggler-cli b/usr/share/bash-completion/completions/onionjuggler-cli index 69bfb0a..156def1 100644 --- a/usr/share/bash-completion/completions/onionjuggler-cli +++ b/usr/share/bash-completion/completions/onionjuggler-cli @@ -3,7 +3,7 @@ _onionjuggler_cli() { local cur prev words cword - _init_completion || return + _init_completion -s || return case $prev in --gateway | --purge | --quiet | --renew ) diff --git a/usr/share/bash-completion/completions/onionjuggler-cli-auth-client b/usr/share/bash-completion/completions/onionjuggler-cli-auth-client index 3b39912..8aeea8c 100644 --- a/usr/share/bash-completion/completions/onionjuggler-cli-auth-client +++ b/usr/share/bash-completion/completions/onionjuggler-cli-auth-client @@ -3,7 +3,7 @@ _onionjuggler_cli_auth_client() { local cur prev words cword - _init_completion || return + _init_completion -s || return case $prev in --client | --service | --replace-file | \ diff --git a/usr/share/bash-completion/completions/onionjuggler-cli-auth-server b/usr/share/bash-completion/completions/onionjuggler-cli-auth-server index c548995..fd0949c 100644 --- a/usr/share/bash-completion/completions/onionjuggler-cli-auth-server +++ b/usr/share/bash-completion/completions/onionjuggler-cli-auth-server @@ -3,7 +3,7 @@ _onionjuggler_cli_auth_server() { local cur prev words cword - _init_completion || return + _init_completion -s || return case $prev in --client | --service | --replace-file | \ diff --git a/usr/share/bash-completion/completions/onionjuggler-cli-web b/usr/share/bash-completion/completions/onionjuggler-cli-web index 2ecc915..c96210d 100644 --- a/usr/share/bash-completion/completions/onionjuggler-cli-web +++ b/usr/share/bash-completion/completions/onionjuggler-cli-web @@ -3,7 +3,7 @@ _onionjuggler_cli_web() { local cur prev words cword - _init_completion || return + _init_completion -s || return case $prev in -no-check-service | \ diff --git a/usr/share/bash-completion/completions/onionjuggler-tui b/usr/share/bash-completion/completions/onionjuggler-tui index 13a128c..2a09e72 100644 --- a/usr/share/bash-completion/completions/onionjuggler-tui +++ b/usr/share/bash-completion/completions/onionjuggler-tui @@ -3,7 +3,7 @@ _onionjuggler_tui() { local cur prev words cword - _init_completion || return + _init_completion -s || return case $prev in --help | --version )