This commit is contained in:
Dylan Araps 2020-08-04 13:25:41 +03:00
parent 255eeed13f
commit 2aa615ea88
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 3 deletions

4
shfm
View File

@ -63,9 +63,7 @@ list_print() {
1) hist_search "$@"
esac
case $((y - bottom)) in
[0-9]*) shift "$((y - bottom))"
esac
shift "$((y - bottom > 0 ? y - bottom : 0))"
for file do
file_escape "$file"