This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Colorful browsing of eix query results with less | |
# /etc/profile.d/colorful_eix.sh | |
# eixl <package> -> eix <package> searches packages via name | |
# eixd <package> -> eix -S <package> search in package description | |
# unbuffer is from the examples (use-flag examples) of dev-tcltk/expect | |
# or via https://github.com/aeruder/expect/blob/master/example/unbuffer | |
run_eix_colored_less() { | |
EIX_LIMIT=0 unbuffer eix $1|less -R |