* usr/share/byobu/profiles/bashrc:

- add an Ubuntu color theme for less pager (manpages)
This commit is contained in:
Dustin Kirkland 2013-11-07 10:37:59 -06:00
commit 55ccb53ed5
2 changed files with 9 additions and 0 deletions

2
debian/changelog vendored
View file

@ -11,6 +11,8 @@ byobu (5.63) unreleased; urgency=low
- point straight to the right section
* usr/share/byobu/profiles/bashrc:
- save a fork, use a function for exit status, from Nick Moffit
* usr/share/byobu/profiles/bashrc:
- add an Ubuntu color theme for less pager (manpages)
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 01 Nov 2013 15:27:51 -0500

View file

@ -41,6 +41,13 @@ if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then
;;
esac
export GREP_COLORS="ms=01;38;5;202:mc=01;31:sl=:cx=:fn=01;38;5;132:ln=32:bn=32:se=00;38;5;242"
export LESS_TERMCAP_mb=$(printf '\e[01;31m') # enter blinking mode red
export LESS_TERMCAP_md=$(printf '\e[01;38;5;180m') # enter double-bright mode bold light orange
export LESS_TERMCAP_me=$(printf '\e[0m') # turn off all appearance modes (mb, md, so, us)
export LESS_TERMCAP_se=$(printf '\e[0m') # leave standout mode
export LESS_TERMCAP_so=$(printf '\e[03;38;5;202m') # enter standout mode orange background highlight (or italics)
export LESS_TERMCAP_ue=$(printf '\e[0m') # leave underline mode
export LESS_TERMCAP_us=$(printf '\e[04;38;5;139m') # enter underline mode underline aubergine
;;
*)
# Use Byobu colors (green / blue / red)