From 91510e39abbbb4f349d49dc4c99875ad0e0d074e Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 2 Sep 2019 12:46:43 +0200 Subject: [PATCH] bash completion: use `||` instead of `-o` Signed-off-by: Valentin Rothberg --- completions/bash/skopeo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/bash/skopeo b/completions/bash/skopeo index 13cf0fde..59674ce9 100644 --- a/completions/bash/skopeo +++ b/completions/bash/skopeo @@ -10,7 +10,7 @@ _complete_() { local option_with_args for option_with_args in $options_with_args $transports do - if [ "$option_with_args" == "$prev" -o "$option_with_args" == "$cur" ] + if [ "$option_with_args" == "$prev" ] || [ "$option_with_args" == "$cur" ] then return fi