Filter find-edit by files when using fzf

This commit is contained in:
Talia 2023-05-22 09:20:04 +02:00
parent 33077b64a1
commit 5af03fe3f6

View file

@ -6,7 +6,7 @@ then
else else
if which fzf > /dev/null if which fzf > /dev/null
then then
file=$(find . | fzf -1 -q "$*") file=$(find . -type f | fzf -1 -q "$*")
found=$? found=$?
elif which dmenu > /dev/null elif which dmenu > /dev/null
then then