Make find-edit skip fzf if only 1 option

This commit is contained in:
Talia 2023-02-07 09:24:26 +01:00
parent 387a25fdf0
commit 20c3a5f094

View file

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