From b88975b92513f783b321f6729339ca1f87bafb3a Mon Sep 17 00:00:00 2001 From: Luxferre Date: Sat, 1 Apr 2023 10:45:32 +0300 Subject: [PATCH] Fixed example for GNU Screen --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cf5130..85970f3 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ This functionality is too OS/environment-specific and thus can't be built **into - for Linux + X11 GUI: `export BOPHER_CLIP='xsel -bi'` - for Linux + Wayland (with `wl-clipboard` package): `export BOPHER_CLIP=wlcopy` - for macOS: `export BOPHER_CLIP=pbcopy` -- for GNU Screen environment (on any OS): `export BOPHER_CLIP='(read -rsd$'\x04' x; screen -X register . "$x")'` +- for GNU Screen environment (on any OS): `export BOPHER_CLIP='xargs -0 screen -X register .'` Even then, this functionality isn't guaranteed to work on any system. Please verify by yourselves how your operating environment handles the clipboard and adjust this variable accordingly.