From d46699d59ba5b7f7caa45300b64c4039ef60c0e6 Mon Sep 17 00:00:00 2001 From: Jontze <42588836+jontze@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:09:16 +0100 Subject: [PATCH 1/2] Add `copy_command` example for WSL --- docs/src/options.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/options.md b/docs/src/options.md index c57ccba0..93748450 100644 --- a/docs/src/options.md +++ b/docs/src/options.md @@ -120,6 +120,7 @@ Examples: copy_command "xclip -selection clipboard" // x11 copy_command "wl-copy" // wayland copy_command "pbcopy" // osx +copy_command "clip.exe" // Windows WSL2 ``` ### copy_clipboard From ecce6fc4238937f7e3310e8e840608eecd57c42a Mon Sep 17 00:00:00 2001 From: Jontze <42588836+jontze@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:30:28 +0100 Subject: [PATCH 2/2] Add wsl `copy_command` example to faq and remove colons --- docs/src/faq.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/src/faq.md b/docs/src/faq.md index 278c6b3d..c2ba24f1 100644 --- a/docs/src/faq.md +++ b/docs/src/faq.md @@ -33,9 +33,10 @@ Some terminals don't support the the OSC 52 signal, which is the method Zellij u To do the latter, add one of the following to your [Zellij Config](./configuration.md): ``` -copy_command: "xclip -selection clipboard" # x11 -copy_command: "wl-copy" # wayland -copy_command: "pbcopy" # osx +copy_command "xclip -selection clipboard" # x11 +copy_command "wl-copy" # wayland +copy_command "pbcopy" # osx +copy_command "clip.exe" # Windows WSL2 ``` Note that the only method that works when connecting to a remote Zellij session (eg. through SSH) is OSC 52. If you require this functionality, please consider using a terminal that supports it.