commit 9dab803e1a420bb58ca529920fa0464be5421328
parent 402f5651a11b498c13fedd99216ba77c0ae67bde
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Fri, 4 Oct 2019 20:46:57 +0530
Suppress permission denied messages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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*)