diff options
author | 2018-11-27 22:37:06 +0530 | |
---|---|---|
committer | 2018-11-27 22:37:06 +0530 | |
commit | 0a21d90ad5c8e5cc4eb52a454b7aa32e642c431d (patch) | |
tree | 627865aa6ff120dfd8aeaa6f3c92a0b3fe2915a7 /scripts/copier | |
parent | 70d371c214ba3c0913b40064745e73510e33be57 (diff) | |
download | nnn-0a21d90ad5c8e5cc4eb52a454b7aa32e642c431d.tar.gz |
Fix #143: support copy to clipboard
Diffstat (limited to 'scripts/copier')
-rwxr-xr-x | scripts/copier/copier.sh | 4 |
1 files changed, 1 insertions, 3 deletions
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 |