note the LESS enviromental variable

This commit is contained in:
VVelox 2018-08-30 18:04:26 -05:00 committed by GitHub
parent 84734eac9d
commit 4dcc4caad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,6 +225,9 @@ script as a wrapper, for example:
less --tabs 4 -RF "$@" less --tabs 4 -RF "$@"
``` ```
Alternatively if you want to pass options to less, you can also use the enviromental variable 'LESS'.
So if you wanted to do the item above, you would set set LESS equal to '--tabs 4 -RF "$@"'.
## Troubleshooting ## Troubleshooting
### Terminals & colors ### Terminals & colors