Commit Graph

6 Commits

Author SHA1 Message Date
Ethan P
72b09b4416
Fix pager_name to print name of unknown pagers 2020-01-17 20:50:26 -08:00
Ethan P
63a9929592
Merge branch 'master' into search-pattern 2020-01-17 20:30:43 -08:00
Harrison McCullough
0cda564175 Make changes according to feedback
Most of these are simple changes. I added an `is_pager_less` and a `get_pager`
function to `pager.sh`. In order for this function to be available for use
inside `pager.sh`, I had to define the functions before setting defaults.

The `is_pager_less` function is then used for the `--search-pattern` to see if
the `$SCRIPT_PAGER` supports the `--search-pattern` flag. Right now, the only
supported pager is `less`.
2020-01-17 23:09:59 -05:00
Ethan P
0fa396fbcb
Add pager_name function to pager.sh 2020-01-17 17:06:00 -08:00
Ethan P
9c10ef4871
Refactor common options into opt hooks 2019-09-25 14:48:21 -07:00
Ethan P
e71de135e6
Add experimental pager support to batgrep 2019-09-24 12:10:17 -07:00