diff options
Diffstat (limited to 'misc/clipboard-copier/copier')
-rwxr-xr-x | misc/clipboard-copier/copier | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/clipboard-copier/copier b/misc/clipboard-copier/copier index 92f7dce..6ac3ba6 100755 --- a/misc/clipboard-copier/copier +++ b/misc/clipboard-copier/copier @@ -8,16 +8,16 @@ SELECTION=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection # Linux -cat "$SELECTION" | xargs -0 | xsel -bi +xargs -0 < "$SELECTION" | xsel -bi # macOS -# cat "$SELECTION" | xargs -0 | pbcopy +# xargs -0 < "$SELECTION" | pbcopy # Termux -# cat "$SELECTION" | xargs -0 | termux-clipboard-set +# xargs -0 < "$SELECTION" | termux-clipboard-set # Cygwin -# cat "$SELECTION" | xargs -0 | clip +# xargs -0 < "$SELECTION" | clip # Wayland -# cat "$SELECTION" | xargs -0 | wl-copy +# xargs -0 < "$SELECTION" | wl-copy |