nnn

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

commit 0fff92b396edef957b3475577f097da9b2e0c7a6
parent 5533f152bd9f23bc26c4673b587d111003e76422
Author: Luuk van Baal <luukvbaal@gmail.com>
Date:   Fri,  4 Jun 2021 17:04:01 +0200

Supress 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