mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-08 10:06:22 -05:00
Fix bash completion for lists of short options
This commit is contained in:
parent
ab6b1b3679
commit
0f49a8a033
3 changed files with 4 additions and 2 deletions
|
|
@ -105,6 +105,8 @@
|
|||
* Wrong mouse binding triggered when doing two mouse selections in
|
||||
very quick (< 300ms) succession
|
||||
(https://codeberg.org/dnkl/foot/issues/883).
|
||||
* Bash completion giving an error when completing a list of short
|
||||
options
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue