nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4637a5a84dd2b4cd83741ea41fe09aaebc1782e1
parent 7b32e3bae04c6ab4f3ae2ceb616227f99529178b
Author: PiƱa Colada <engineerarun@gmail.com>
Date:   Fri,  4 Jun 2021 21:24:27 +0530

Merge pull request #1053 from luukvbaal/preview-tui

Suppress pgrep output
Diffstat:
Mplugins/preview-tui | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -380,7 +380,7 @@ winch_handler() { tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json & fi preview_file "$(cat "$CURSEL")" - if ! kill -0 "$NNN_PARENT" || ! pgrep nnn; then + if ! kill -0 "$NNN_PARENT" || ! pgrep nnn >/dev/null; then pkill -P "$$" fi } 2>/dev/null