shell/environment: use some features present on Gentoo

* Tell less to use colors (if available)
* Fix lesspipe, which can't be invoked in Gentoo

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>