aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-05 18:54:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-05 18:54:16 +0000
commit82b8853f17b943901776eddcb857089384a61dda (patch)
treed9eb3ac6ef72ee3a7b69c7fa0f3d16e6f6f4d921 /completions
parentmain: add --print-pid=FILE|FD (diff)
main: add --print-pid=FILE|FD
When specified, our PID is written to the specified file (or FD), after we've successfully started up.
Diffstat (limited to 'completions')
-rw-r--r--completions/zsh/_foot2
-rw-r--r--completions/zsh/_footclient1
2 files changed, 3 insertions, 0 deletions
diff --git a/completions/zsh/_foot b/completions/zsh/_foot
index 3b068f7f..9f79a730 100644
--- a/completions/zsh/_foot
+++ b/completions/zsh/_foot
@@ -9,6 +9,8 @@ _arguments \
'(-s --server)'{-s,--server}'[run as server; open terminals by running footclient]:server:_files' \
'--hold[remain open after child process exits]' \
'(-p --print-pid)'{-p,--print-pid}'[print PID to this file or FD when up and running (server mode only)]:pidfile:_files' \
+ '(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \
+ '(-S --log-no-syslog)'{-s,--log-no-syslog}'[disable syslog logging (server mode only)]' \
'(-v --version)'{-v,--version}'[show the version number and quit]' \
'(-h --help)'{-h,--help}'[show help message and quit]'
diff --git a/completions/zsh/_footclient b/completions/zsh/_footclient
index 81e293ed..9b3eb3fe 100644
--- a/completions/zsh/_footclient
+++ b/completions/zsh/_footclient
@@ -4,6 +4,7 @@ _arguments \
-s \
'(-t --term)'{-t,--term}'[value to set the environment variable TERM to (foot)]:term:->terms' \
'(-s --server-socket)'{-s,--server-socket}'[override the default path to the foot server socket (XDG_RUNTIME_DIR/foot.sock)]:server:_files' \
+ '(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \
'(-v --version)'{-v,--version}'[show the version number and quit]' \
'(-h --help)'{-h,--help}'[show help message and quit]'