completions: add -o,--override to footclient

This commit is contained in:
Daniel Eklöf 2021-06-23 14:34:50 +02:00
parent 8640a9c99a
commit 5b9a000b9b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 4 additions and 1 deletions

View file

@ -13,6 +13,7 @@ _footclient()
"--log-level"
"--log-colorize"
"--maximized"
"--override"
"--server-socket"
"--term"
"--title"
@ -61,7 +62,7 @@ _footclient()
COMPREPLY=( $(compgen -W "error warning info" -- ${cur}) )
elif [[ ${prev} == '--log-colorize' ]] ; then
COMPREPLY=( $(compgen -W "never always auto" -- ${cur}) )
elif [[ ${prev} =~ ^(--app-id|--help|--title|--version|--window-size-chars|--window-size-pixels|)$ ]] ; then
elif [[ ${prev} =~ ^(--app-id|--help|--override|--title|--version|--window-size-chars|--window-size-pixels|)$ ]] ; then
: # don't autocomplete for these flags
else
# complete commands from $PATH