diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 - |