aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/fzy-open
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-04 20:46:57 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-04 20:46:57 +0530
commit9dab803e1a420bb58ca529920fa0464be5421328 (patch)
treea8256ba611f489a36e420da7ed6a265ce1181999 /plugins/fzy-open
parent402f5651a11b498c13fedd99216ba77c0ae67bde (diff)
downloadnnn-9dab803e1a420bb58ca529920fa0464be5421328.tar.gz
Suppress permission denied messages
Diffstat (limited to 'plugins/fzy-open')
-rwxr-xr-xplugins/fzy-open2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/fzy-open b/plugins/fzy-open
index a2fbb89..97da456 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*)