aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/copier
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-12-01 21:42:51 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-12-01 21:51:59 +0530
commit5b42d9d8ea92cc2572a5b35d8c6343f9bf20d288 (patch)
tree0db9dbd1f08fc354002ce07c19aa30f52192e838 /scripts/copier
parentd1b4cc2beb8493237c25b6e7ce49284eb6c874a5 (diff)
downloadnnn-5b42d9d8ea92cc2572a5b35d8c6343f9bf20d288.tar.gz
Update copier script and docs
Diffstat (limited to 'scripts/copier')
-rwxr-xr-xscripts/copier/copier.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/copier/copier.sh b/scripts/copier/copier.sh
index 901c45f..3d8ccb5 100755
--- a/scripts/copier/copier.sh
+++ b/scripts/copier/copier.sh
@@ -1,7 +1,13 @@
#!/bin/sh
-cat /path/to/.nnncp | xargs -0 | xsel -bi
+# Linux
+cat ~/.nnncp | xargs -0 | xsel -bi
+
+# macOS
+# cat ~/.nnncp | xargs -0 | pbcopy
# Termux
-# cat /path/to/.nnncp | xargs -0 | termux-clipboard-set
-# e.g.: cat /data/data/com.termux/files/home/.nnncp | xargs -0 | termux-clipboard-set
+# cat /data/data/com.termux/files/home/.nnncp | xargs -0 | termux-clipboard-set
+
+# Cygwin
+# cat ~/.nnncp | xargs -0 | clip