Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

fix: respect GLAB_PAGER in config and env vars #658

Merged
merged 1 commit into from
Mar 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/glab/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func main() {
debugMode, _ = cfg.Get("", "debug")
debug = debugMode == "true" || debugMode == "1"

if pager, _ := cfg.Get("", "pager"); pager != "" {
if pager, _ := cfg.Get("", "glab_pager"); pager != "" {
cmdFactory.IO.SetPager(pager)
}

Expand Down