commit b88975b92513f783b321f6729339ca1f87bafb3a
parent c0d55ab984d3683f1b145317a52f55b3395af4f1
Author: Luxferre <lux@ferre>
Date: Sat, 1 Apr 2023 10:45:32 +0300
Fixed example for GNU Screen
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.