aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-12 08:47:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-12 20:42:53 +0000
commitfc070dbdf1acde544ac50ce8ccb6c77c84c930a6 (patch)
treed11b7b2817214d64f0a45672e132a3085cb3e79b
parentcompletions: zsh: add -D,--working-directory (diff)
completions: fish: add -D,--working-directory
-rw-r--r--completions/fish/foot.fish1
-rw-r--r--completions/fish/footclient.fish1
2 files changed, 2 insertions, 0 deletions
diff --git a/completions/fish/foot.fish b/completions/fish/foot.fish
index de31c547..58ae8f11 100644
--- a/completions/fish/foot.fish
+++ b/completions/fish/foot.fish
@@ -8,6 +8,7 @@ complete -c foot -x -s a -l app-id
complete -c foot -s m -l maximized -d "start in maximized mode"
complete -c foot -s F -l fullscreen -d "start in fullscreen mode"
complete -c foot -s L -l login-shell -d "start shell as a login shell"
+complete -c foot -F -s D -l working-directory -d "initial working directory for the client application (CWD)"
complete -c foot -x -s w -l window-size-pixels -d "window WIDTHxHEIGHT, in pixels (700x500)"
complete -c foot -x -s W -l window-size-chars -d "window WIDTHxHEIGHT, in characters (not set)"
complete -c foot -F -s s -l server -d "run as server; open terminals by running footclient"
diff --git a/completions/fish/footclient.fish b/completions/fish/footclient.fish
index 880aaed7..09dc7305 100644
--- a/completions/fish/footclient.fish
+++ b/completions/fish/footclient.fish
@@ -5,6 +5,7 @@ complete -c footclient -x -s a -l app-id
complete -c footclient -s m -l maximized -d "start in maximized mode"
complete -c footclient -s F -l fullscreen -d "start in fullscreen mode"
complete -c footclient -s L -l login-shell -d "start shell as a login shell"
+complete -c footclient -F -s D -l working-directory -d "initial working directory for the client application (CWD)"
complete -c footclient -x -s w -l window-size-pixels -d "window WIDTHxHEIGHT, in pixels (700x500)"
complete -c footclient -x -s W -l window-size-chars -d "window WIDTHxHEIGHT, in characters (not set)"
complete -c footclient -F -s s -l server-socket -d "override the default path to the foot server socket ($XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock)"