]> Sergey Matveev's repositories - nnn.git/commit
Add an option to print hovered files to a FIFO (#548)
authorlvgx <l@vgx.fr>
Mon, 4 May 2020 04:05:13 +0000 (06:05 +0200)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 04:05:13 +0000 (09:35 +0530)
commit86e579799b3fff5aa181cf0ff843979751a60f19
tree5a6da76f60aff58267c46fd3456810f392400b44
parentb5de18c28fabfc96bf865dfe55196d13f5a607c5
Add an option to print hovered files to a FIFO (#548)

* Add an option to print hovered files to a FIFO

This adds an env variable, `NNN_FIFO`, that can be set to a path that
`nnn` will open/create as a FIFO, and where every hovered file's path is
printed. This allows creating external perview/quick open plugins, ...

It can be compiled out with the make variable `O_NOFIFO`.

* Check filename ptr instead of full path (for FIFO)

* Add documentation to use NNN_FIFO in plugins

* Fix path sent to FIFO in empty dirs
Makefile
nnn.1
plugins/README.md
src/nnn.c