Merge pull request #31 from Sketch98/bug2

fixed bug when moving to parent...
This commit is contained in:
dylan 2021-06-11 08:11:35 +00:00 committed by GitHub
commit 25d4f809d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
shfm
View File

@ -121,7 +121,7 @@ hist_search() {
for file do
case ${PWD%%/}/$file in
"$old_pwd") y=$j y2=$((j > bottom ? mid : j)) cur=$file
"$old_pwd") y=$j y2=$((j >= bottom ? mid : j)) cur=$file
esac
j=$((j + 1))