Skip to content

Commit

Permalink
add info about the LESS default behavior to pager.md (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyscho authored Mar 5, 2025
1 parent 490b482 commit cb877d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/pages/pager.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ export LESS="-XFR"
# Some pgcli users like to disable line wrapping.
export LESS="-SRXF"
```

If the `LESS` environment variable is not set, and `less` is the pager, then
the `LESS` environment variable will automatically be set to `-SRXF`.

0 comments on commit cb877d9

Please sign in to comment.