mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Update README
This commit is contained in:
parent
11dac5e3db
commit
fa549aa5f7
|
@ -385,7 +385,11 @@ This is particularly useful if you are planning to copy the whole string to the
|
||||||
|
|
||||||
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`.
|
||||||
|
|
||||||
To use the copied paths from the cmdline, use command substitution:
|
`nnn` needs to know X is unavailable:
|
||||||
|
|
||||||
|
export NNN_NO_X=1
|
||||||
|
|
||||||
|
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
|
# bash/zsh
|
||||||
ls -ltr `cat /tmp/nnncp`
|
ls -ltr `cat /tmp/nnncp`
|
||||||
|
|
Loading…
Reference in a new issue