From e1bd7c68524e8fac8279863d8b5f3b249f22942d Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 17 Mar 2019 18:39:21 +0530 Subject: Drop the .sh subscripts --- user-scripts/copier | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 user-scripts/copier (limited to 'user-scripts/copier') 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 -- cgit v1.2.3-70-g09d2