less greedy search so hidden files work. Closes #6

This commit is contained in:
Dylan Araps 2020-08-05 00:33:46 +03:00
parent c34a9fc1ce
commit d62f4bf798
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
shfm
View File

@ -321,7 +321,7 @@ main() {
/?)
prompt / r
set -- *"$ans"*
set -- "$ans"*
y=1 y2=1 cur=$1 search=1
redraw "$@"
status_line "($y/$#) search $ans"