Skip to content

Commit

Permalink
LESS_TERMCAP variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
josemotanet committed Jul 3, 2017
1 parent 7adacf6 commit d5f1c87
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions common/bash/less_termcap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export LESS='-R'

export LESS_TERMCAP_mb=$(tput bold; tput setaf 2)
export LESS_TERMCAP_md=$(tput setaf 1)
export LESS_TERMCAP_me=$(tput sgr0)
export LESS_TERMCAP_so=$(tput bold; tput setaf 3)
export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
export LESS_TERMCAP_us=$(tput setaf 3)
export LESS_TERMCAP_ue=$(tput rmul; tput sgr0)
export LESS_TERMCAP_mr=$(tput rev)
export LESS_TERMCAP_mh=$(tput dim)
export LESS_TERMCAP_ZN=$(tput ssubm)
export LESS_TERMCAP_ZV=$(tput rsubm)
export LESS_TERMCAP_ZO=$(tput ssupm)
export LESS_TERMCAP_ZW=$(tput rsupm)

export GROFF_NO_SGR=1

0 comments on commit d5f1c87

Please sign in to comment.