aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-05 18:53:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-05 18:53:50 +0000
commit00d76784f42408bdf46a8b1e753536f033fd9e08 (patch)
tree91840c29917ceeca3ec2b8fc4a6c92cb6f54c422 /completions
parentterm: always read *all* we can from the client before updating state (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. Only applicable in server mode.
Diffstat (limited to 'completions')
-rw-r--r--completions/zsh/_foot1
1 files changed, 1 insertions, 0 deletions
diff --git a/completions/zsh/_foot b/completions/zsh/_foot
index 8fbec2bd..3b068f7f 100644
--- a/completions/zsh/_foot
+++ b/completions/zsh/_foot
@@ -8,6 +8,7 @@ _arguments \
'(-g --geometry)'{-g,--geometry}'[window WIDTHxHEIGHT, in pixels (80x24 cells)]:geometry:()' \
'(-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' \
'(-v --version)'{-v,--version}'[show the version number and quit]' \
'(-h --help)'{-h,--help}'[show help message and quit]'