nnn

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

commit 8542f5bc33dd2e8d8b084bc5725ea94b48b0a46a
parent ccf2927b6d6f4eea316787b67c90289618050373
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 28 Mar 2021 00:59:23 +0530

Use better pipe check

Diffstat:
Mplugins/autojump | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/autojump b/plugins/autojump @@ -11,7 +11,7 @@ # Shell: POSIX compliant # Authors: Marty Buchaus, Dave Snider, Tim Adler -if [ -z "$NNN_PIPE" ]; then +if [ ! -p "$NNN_PIPE" ]; then echo 'ERROR: NNN_PIPE is not set' | ${PAGER:-less} exit 2 fi