Use $PAGER for viewing files #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently uses bat which adds a dependency. Would be much better to use
$PAGER
and fall back to
cat
which should be on most (if not all) systemsDo this the same way as editor where the user can specify a flag which overrides
the environment variable
I am reluctant to make the pager use the environment variable by default because
bat cannot be set as the pager:
https://github.com/sharkdp/bat/pull/1343
Instead, I will use bat if it's available, then fall back to the pager variable
If the pager is specified with a flag, this will take precidence