aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/bash-completion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bash-completion.sh b/cli/bash-completion.sh
index 5ae1c63..f3175b9 100644
--- a/cli/bash-completion.sh
+++ b/cli/bash-completion.sh
@@ -21,7 +21,7 @@ _icevault() {
COMPREPLY=()
declare -a files
- local cmd firstopt=2 opts nargs
+ local cmd firstopt=2 opts nargs=0
if [ $cword -eq 1 -a -z "$cur" ] || [[ "${words[1]}" =~ :// ]] || [[ "${words[1]}" =~ ^- ]]; then
firstopt=1
cmd=fill # default command