Skip to content

Commit

Permalink
Set a sensible default for the PAGER environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rjw1 committed Feb 28, 2025
1 parent 4952b5d commit 1d32d29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/dalmatian
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ then
export EDITOR="nano"
fi

if [ -z "$PAGER" ]
then
export PAGER="less"
fi
# These AWS environment variables take precedence when authenticating, which
# can cause errors if they are not related to Dalmatian
unset AWS_SESSION_TOKEN
Expand Down

0 comments on commit 1d32d29

Please sign in to comment.