From 0a21d90ad5c8e5cc4eb52a454b7aa32e642c431d Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 27 Nov 2018 22:37:06 +0530 Subject: Fix #143: support copy to clipboard --- scripts/copier/copier.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/copier') diff --git a/scripts/copier/copier.sh b/scripts/copier/copier.sh index 5629301..0f5a195 100755 --- a/scripts/copier/copier.sh +++ b/scripts/copier/copier.sh @@ -1,5 +1,3 @@ #!/bin/sh -# comment the next line to convert newlines to spaces -IFS= -echo -n $1 | `xsel --clipboard --input` +cat /path/to/.nnncp | xargs -0 | xsel -bi -- cgit v1.2.3-70-g09d2