aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.1
diff options
context:
space:
mode:
Diffstat (limited to 'nnn.1')
-rw-r--r--nnn.110
1 files changed, 4 insertions, 6 deletions
diff --git a/nnn.1 b/nnn.1
index 998529c..6886211 100644
--- a/nnn.1
+++ b/nnn.1
@@ -283,15 +283,13 @@ files.
.Pp
\fBNNN_COPIER:\fR set to a clipboard copier script. For example, on Linux:
.Bd -literal
- -------------------------------------
+ -----------------------------------------
#!/bin/sh
- # comment the next line to convert newlines to spaces
- IFS=
- echo -n $1 | xsel --clipboard --input
- -------------------------------------
+ cat /path/to/.nnncp | xargs -0 | xsel -bi
+ -----------------------------------------
- If it's not set, by default file paths are copied to the tmp file \fBDIR/.nnncp\fR, where 'DIR' (by priority) is: \fI$HOME\fR or, \fI$TMPDIR\fR or, \fI/tmp\fR.
+ Note: By default file paths are copied to the tmp file \fBDIR/.nnncp\fR, where 'DIR' (by priority) is: \fI$HOME\fR or, \fI$TMPDIR\fR or, \fI/tmp\fR.
.Ed
.Pp
\fBNNN_SCRIPT:\fR path to a custom script to invoke with currently selected file name as argument 1.