fixed bug when moving to parent when y position of old directory equals bottom

This commit is contained in:
Nathan Sketch committed 2021-04-17 10:23:22 -04:00
1 parent 8920178753
commit 01ae386143
1 file changed
+1 -1
+1 -1
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))