aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 105481a..7459a26 100644
--- a/README.md
+++ b/README.md
@@ -385,7 +385,7 @@ This is particularly useful if you are planning to copy the whole string to the
#### copy file paths when X is missing
-A very common scenario on headless remote servers connected via SSH. As the clipboard is missing, `nnn` copies the path names to the tmp file `/tmp/nnncp`.
+A very common scenario on headless remote servers connected via SSH. As the clipboard is missing, `nnn` copies the path names to the tmp file `/tmp/nnncp$USER`.
`nnn` needs to know X is unavailable:
@@ -394,15 +394,15 @@ A very common scenario on headless remote servers connected via SSH. As the clip
Use <kbd>^Y</kbd> and/or <kbd>^K</kbd> to copy file paths as usual. To use the copied paths from the cmdline, use command substitution:
# bash/zsh
- ls -ltr `cat /tmp/nnncp`
- ls -ltr $(cat /tmp/nnncp)
+ ls -ltr `cat /tmp/nnncpuser`
+ ls -ltr $(cat /tmp/nnncpuser)
# fish
- ls -ltr (cat /tmp/nnncp)
+ ls -ltr (cat /tmp/nnncpuser)
An alias may be handy:
- alias ncp='cat /tmp/nnncp'
+ alias ncp='cat /tmp/nnncpuser'
so you can -