From 0f49a8a0338dab302db877631068c0469cb88e19 Mon Sep 17 00:00:00 2001 From: Nicolai Dagestad Date: Thu, 3 Feb 2022 17:31:57 +0100 Subject: Fix bash completion for lists of short options --- completions/bash/foot | 2 +- completions/bash/footclient | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'completions/bash') 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 -- cgit v1.3