aboutsummaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorRyan Farley <ryan.farley@gmx.com>2021-06-11 09:40:08 +0000
committerRyan Farley <ryan.farley@gmx.com>2021-06-12 08:05:15 +0000
commitf379ffb8ed9bba0dafc2a7c1430ccb1a2517f99c (patch)
tree6d58546ee4af49d67b94e0013c6436e85ef81a70 /completions/bash
parentMerge branch 'no-conf-found-is-not-an-error' (diff)
Override options from command line
Allow any configuration option to be overridden with -o/--override 'section.key=value' arguments, as suggested in #554 update completitions for override slight refactoring to ease footclient support
Diffstat (limited to 'completions/bash')
-rw-r--r--completions/bash/foot3
1 files changed, 2 insertions, 1 deletions
diff --git a/completions/bash/foot b/completions/bash/foot
index 6fbe635f..f03a9f53 100644
--- a/completions/bash/foot
+++ b/completions/bash/foot
@@ -17,6 +17,7 @@ _foot()
"--log-no-syslog"
"--login-shell"
"--maximized"
+ "--override"
"--print-pid"
"--server"
"--term"
@@ -70,7 +71,7 @@ _foot()
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|--check-config)$ ]] ; then
+ elif [[ ${prev} =~ ^(--app-id|--help|--override|--title|--version|--window-size-chars|--window-size-pixels|--check-config)$ ]] ; then
: # don't autocomplete for these flags
else
# complete commands from $PATH