Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Or, more generally (for bash users)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Or, more generally (for bash users)
Authored by: Mulligan on Jan 30, '05 10:56:50AM

You can keep your current LESS settings and only add the -S when running apropos:

alias apropos='LESS=${LESS:--}S /usr/bin/apropos'

The magic is in the variable expansion ${LESS:--} which expands to your current LESS value if you have one and - if not.

[ Reply to This | # ]