diff options
| author | 2019-04-21 23:59:51 +0530 | |
|---|---|---|
| committer | 2019-04-21 23:59:51 +0530 | |
| commit | a900b2c4fa928de32c30943029ccd4b67c4b7ee9 (patch) | |
| tree | 480c94e5017b4891b1a16e4d9134816fd44c4d16 /scripts | |
| parent | f9264577d295be0ccb788224e677e4615e53f843 (diff) | |
| download | nnn-a900b2c4fa928de32c30943029ccd4b67c4b7ee9.tar.gz | |
Support config dir ~/.config/nnn
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/clipboard-copier/copier | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/clipboard-copier/copier b/scripts/clipboard-copier/copier index 2aec820..e20dcf4 100755 --- a/scripts/clipboard-copier/copier +++ b/scripts/clipboard-copier/copier @@ -5,14 +5,16 @@ # Shell: POSIX compliant # Author: Arun Prakash Jana +SELECTION=~/.config/nnn/.selection + # Linux -cat ~/.nnncp | xargs -0 | xsel -bi +cat "$SELECTION" | xargs -0 | xsel -bi # macOS -# cat ~/.nnncp | xargs -0 | pbcopy +# cat "$SELECTION" | xargs -0 | pbcopy # Termux -# cat /data/data/com.termux/files/home/.nnncp | xargs -0 | termux-clipboard-set +# cat "$SELECTION" | xargs -0 | termux-clipboard-set # Cygwin -# cat ~/.nnncp | xargs -0 | clip +# cat "$SELECTION" | xargs -0 | clip |