diff options
| author | 2019-03-17 18:39:21 +0530 | |
|---|---|---|
| committer | 2019-03-17 18:40:54 +0530 | |
| commit | e1bd7c68524e8fac8279863d8b5f3b249f22942d (patch) | |
| tree | 49698d55bd2930b706e1bfdc26f893f6f2cfc0f1 /user-scripts/copier | |
| parent | ff0378c18b73009b5293c34e4e709054b69e7cd7 (diff) | |
| download | nnn-e1bd7c68524e8fac8279863d8b5f3b249f22942d.tar.gz | |
Drop the .sh subscripts
Diffstat (limited to 'user-scripts/copier')
| -rwxr-xr-x | user-scripts/copier | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/user-scripts/copier b/user-scripts/copier new file mode 100755 index 0000000..a99b88b --- /dev/null +++ b/user-scripts/copier @@ -0,0 +1,18 @@ +#!/usr/bin/env sh + +# Description: Copy selection to clipboard +# +# Shell: generic +# Author: Arun Prakash Jana + +# Linux +cat ~/.nnncp | xargs -0 | xsel -bi + +# macOS +# cat ~/.nnncp | xargs -0 | pbcopy + +# Termux +# cat /data/data/com.termux/files/home/.nnncp | xargs -0 | termux-clipboard-set + +# Cygwin +# cat ~/.nnncp | xargs -0 | clip |