-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
feature-requestNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested
Milestone
Description
I like having other applications use bat as a pager, so I export PAGER="bat" in my .zshrc. However, bat will also use that env var and try to execute itself (recursively, endlessly).
To replicate:
export PAGER="bat"
# This hangs
ls | bat
# In another shell:
ps -fe | grep bat | wc -l
# 177 on my system
unset PAGER
# Works correctly
ls | batkeith-hall, sharkdp and rodorgas
Metadata
Metadata
Assignees
Labels
feature-requestNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested