Filter find-edit by files when using fzf
This commit is contained in:
parent
33077b64a1
commit
5af03fe3f6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue