Difference between revisions of "Shell colours"
From Jon's Wiki
(Created page with "Use vimpager. git clone <nowiki>git://github.com/rkitover/vimpager</nowiki> cd vimpager sudo make install-deb Stick this in ~/.bashrc export PAGER='/usr/bin/vimpager' ...") |
|||
Line 10: | Line 10: | ||
export LESS=" -R " | export LESS=" -R " | ||
export LESSOPEN="| $PAGER -o - %s" | export LESSOPEN="| $PAGER -o - %s" | ||
− | + | ||
alias less=$PAGER | alias less=$PAGER | ||
alias zless=$PAGER | alias zless=$PAGER | ||
alias cat='/usr/bin/vimcat' | alias cat='/usr/bin/vimcat' |
Latest revision as of 00:11, 29 April 2016
Use vimpager.
git clone git://github.com/rkitover/vimpager cd vimpager sudo make install-deb
Stick this in ~/.bashrc
export PAGER='/usr/bin/vimpager' export LESS=" -R " export LESSOPEN="| $PAGER -o - %s" alias less=$PAGER alias zless=$PAGER alias cat='/usr/bin/vimcat'