drewdeponte / git-ps-rs

Official git-ps Rust implementation - the future of git-ps
https://git-ps.sh
MIT License
78 stars 8 forks source link

feature request: pager configuration for gps ls #282

Open Alizter opened 9 months ago

Alizter commented 9 months ago

This is a bit of a niche request, but I think it would be nice to have a config option that pipes the output of gps ls into a pager.

When gps ls outputs a lot of things, sometimes its easier to read and cleaner to do gps ls | less. Having something like this as the configured behaviour would be nice.

drewdeponte commented 8 months ago

If we decided to support this. We should make sure that the pager configuration matches that of Git. That way we can properly use it to configure any of the commands that proxy to Git as well as use it to configure gps proper for commands that it owns.