From: Arun Prakash Jana Date: Fri, 4 Oct 2019 15:16:57 +0000 (+0530) Subject: Suppress permission denied messages X-Git-Tag: v2.7~9 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9dab803e1a420bb58ca529920fa0464be5421328;p=nnn.git Suppress permission denied messages --- diff --git a/plugins/fzy-open b/plugins/fzy-open index a2fbb89e..97da4565 100755 --- a/plugins/fzy-open +++ b/plugins/fzy-open @@ -7,7 +7,7 @@ # Shell: POSIX compliant # Author: Arun Prakash Jana -entry="$(find -type f | fzy)" +entry="$(find -type f 2>/dev/null | fzy)" case "$(file -biL "$entry")" in *text*)