glog: Disable --quit-if-one-screen in $LESS

Make glog always open the output of `git show` in a **real** pager by
disabling `--quit-if-one-screen`.
This commit is contained in:
2022-05-14 18:57:02 +02:00
parent ac0987719f
commit 1fbdc60b6b

View File

@@ -119,5 +119,5 @@ fi
# Display an ascii graph of the commits in the above format and pipe that into # Display an ascii graph of the commits in the above format and pipe that into
# fzf. # fzf.
git log "$formatshort" --graph "$dateshort" --color=always "$@" \ git log "$formatshort" --graph "$dateshort" --color=always "$@" \
| fzf "${fzf_args[@]}" | env LESS="$LESS${LESS:+ }-+F" fzf "${fzf_args[@]}"
return 0 return 0