Make find-edit skip fzf if only 1 option
This commit is contained in:
parent
387a25fdf0
commit
20c3a5f094
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=$(fzf -q "$1")
|
file=$(fzf -1 -q "$1")
|
||||||
found=$?
|
found=$?
|
||||||
elif which dmenu > /dev/null
|
elif which dmenu > /dev/null
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue