diff options
| author | Nicolai Dagestad <nicolai@dagestad.fr> | 2022-02-03 16:31:57 +0000 |
|---|---|---|
| committer | Nicolai Dagestad <nicolai@dagestad.fr> | 2022-02-03 17:49:54 +0000 |
| commit | 0f49a8a0338dab302db877631068c0469cb88e19 (patch) | |
| tree | 20ece6c6cfe6fd0cac2e1ab2fcc4751867de6b70 /completions/bash | |
| parent | install: remove reference to the Arch AUR package (diff) | |
Fix bash completion for lists of short options
Diffstat (limited to 'completions/bash')
| -rw-r--r-- | completions/bash/foot | 2 | ||||
| -rw-r--r-- | completions/bash/footclient | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/completions/bash/foot b/completions/bash/foot index f9d9d0fd..1fdab062 100644 --- a/completions/bash/foot +++ b/completions/bash/foot @@ -75,7 +75,7 @@ _foot() : # don't autocomplete for these flags else # complete commands from $PATH - COMPREPLY=( $(compgen -c ${cur}) ) + COMPREPLY=( $(compgen -c -- ${cur}) ) fi return 0 diff --git a/completions/bash/footclient b/completions/bash/footclient index fea45945..9f752641 100644 --- a/completions/bash/footclient +++ b/completions/bash/footclient @@ -66,7 +66,7 @@ _footclient() : # don't autocomplete for these flags else # complete commands from $PATH - COMPREPLY=( $(compgen -c ${cur}) ) + COMPREPLY=( $(compgen -c -- ${cur}) ) fi return 0 |
