Smarter GNU Less Defaults
Disable long line folding with the -S
flag or use -S<ENTER>
inside less.
Enable color with the -R
flag or use -R<ENTER>
inside less.
Use these flags by default:
echo "#env" >> ~/.lesskey
echo "LESS = -S -R" >> ~/.lesskey
lesskey
Written by Casey Watson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#