nnn/scripts/copier/copier.sh

14 lines
231 B
Bash
Raw Normal View History

2017-10-10 14:59:48 +00:00
#!/bin/sh
2018-12-01 16:12:51 +00:00
# Linux
cat ~/.nnncp | xargs -0 | xsel -bi
# macOS
# cat ~/.nnncp | xargs -0 | pbcopy
2018-11-30 00:49:19 +00:00
# Termux
2018-12-01 16:12:51 +00:00
# cat /data/data/com.termux/files/home/.nnncp | xargs -0 | termux-clipboard-set
# Cygwin
# cat ~/.nnncp | xargs -0 | clip