Ancestors

Toot

Written by Feoh on 2025-01-22 at 20:09

Favorite new #bash/#zsh alias OTD:

Often I want to show the contents of a commit in one tab, go do something else in another, but refer back.

By default, git runs the pager, so if I hit any key after the commit is displayed, the pager will exit, wiping the displayed output.

This alias turns the pager off JUST for the duration of this one invocation so I can show my commit and leave it up.

Update: It only makes sense to add the 'show' clause to the alias since this setting only applies to it.

=> More informations about this toot | More toots from feoh@oldbytes.space

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113873818331556015
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
275.652077 milliseconds
Gemini-to-HTML Time
0.310135 milliseconds

This content has been proxied by September (ba2dc).