Suppress permission denied messages

This commit is contained in:
Arun Prakash Jana 2019-10-04 20:46:57 +05:30
parent 402f5651a1
commit 9dab803e1a
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -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*)