From 9dab803e1a420bb58ca529920fa0464be5421328 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 4 Oct 2019 20:46:57 +0530 Subject: [PATCH] Suppress permission denied messages --- plugins/fzy-open | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*)