From 60e67b9c21f523e2a9e50408563d57b0a57dc91b Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 12 Feb 2021 09:46:22 +0100 Subject: completions: zsh: add -D,--working-directory --- completions/zsh/_foot | 1 + completions/zsh/_footclient | 1 + 2 files changed, 2 insertions(+) (limited to 'completions') diff --git a/completions/zsh/_foot b/completions/zsh/_foot index b706ea2d..d87ad919 100644 --- a/completions/zsh/_foot +++ b/completions/zsh/_foot @@ -11,6 +11,7 @@ _arguments \ '(-m --maximized)'{-m,--maximized}'[start in maximized mode]' \ '(-F --fullscreen)'{-F,--fullscreen}'[start in fullscreen mode]' \ '(-L --login-shell)'{-L,--login-shell}'[start shell as a login shell]' \ + '(-D --working-directory)'{-D,--working-directory}'[initial working directory for the client application (CWD)]:working_directory:_files' \ '(-w --window-size-pixels)'{-w,--window-size-pixels}'[window WIDTHxHEIGHT, in pixels (700x500)]:size_pixels:()' \ '(-W --window-size-chars)'{-W,--window-size-chars}'[window WIDTHxHEIGHT, in characters (not set)]:size_chars:()' \ '(-s --server)'{-s,--server}'[run as server; open terminals by running footclient]:server:_files' \ diff --git a/completions/zsh/_footclient b/completions/zsh/_footclient index df9b7f25..f8537748 100644 --- a/completions/zsh/_footclient +++ b/completions/zsh/_footclient @@ -8,6 +8,7 @@ _arguments \ '(-m --maximized)'{-m,--maximized}'[start in maximized mode]' \ '(-F --fullscreen)'{-F,--fullscreen}'[start in fullscreen mode]' \ '(-L --login-shell)'{-L,--login-shell}'[start shell as a login shell]' \ + '(-D --working-directory)'{-D,--working-directory}'[initial working directory for the client application (CWD)]:working_directory:_files' \ '(-w --window-size-pixels)'{-w,--window-size-pixels}'[window WIDTHxHEIGHT, in pixels (700x500)]:size_pixels:()' \ '(-W --window-size-chars)'{-W,--window-size-chars}'[window WIDTHxHEIGHT, in characters (not set)]:size_chars:()' \ '(-s --server-socket)'{-s,--server-socket}'[override the default path to the foot server socket ($XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock)]:server:_files' \ -- cgit v1.3 From fc070dbdf1acde544ac50ce8ccb6c77c84c930a6 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 12 Feb 2021 09:47:50 +0100 Subject: completions: fish: add -D,--working-directory --- completions/fish/foot.fish | 1 + completions/fish/footclient.fish | 1 + 2 files changed, 2 insertions(+) (limited to 'completions') 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)" -- cgit v1.3