mirror of
https://github.com/jarun/nnn.git
synced 2025-03-11 17:24:06 +00:00
Suppress permission denied messages
This commit is contained in:
parent
402f5651a1
commit
9dab803e1a
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
# Shell: POSIX compliant
|
# Shell: POSIX compliant
|
||||||
# Author: Arun Prakash Jana
|
# Author: Arun Prakash Jana
|
||||||
|
|
||||||
entry="$(find -type f | fzy)"
|
entry="$(find -type f 2>/dev/null | fzy)"
|
||||||
|
|
||||||
case "$(file -biL "$entry")" in
|
case "$(file -biL "$entry")" in
|
||||||
*text*)
|
*text*)
|
||||||
|
|
Loading…
Add table
Reference in a new issue