Skip to content

Commit 2d50f67

Browse files
Merge pull request #32 from taiki45/fix-pager
Use less -R for log pager
2 parents 54befb3 + 11d507d commit 2d50f67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gh-f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ID_COLOUR="\033[36m"
77
TEXT_COLOUR="\033[34m"
88
STATUS_COLOUR="\033[33m"
99
SHELL_COLOUR="\033[0m"
10-
[[ -z $(command -v bat) ]] && HELP_PAGER="less" || HELP_PAGER="bat -l man -p"
11-
[[ -z $(command -v bat) ]] && LOG_PAGER="less" || LOG_PAGER="bat -l log -p"
10+
[[ -z $(command -v bat) ]] && HELP_PAGER="less -R" || HELP_PAGER="bat -l man -p"
11+
[[ -z $(command -v bat) ]] && LOG_PAGER="less -R" || LOG_PAGER="bat -l log -p"
1212

1313
help() {
1414
help_message="

0 commit comments

Comments
 (0)