mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
profile: add LESS/man output colours
This commit is contained in:
parent
1ca210e766
commit
927cdeccb6
18
.profile
18
.profile
@ -15,14 +15,28 @@ export VIMINIT=":so $MYVIMRC"
|
|||||||
|
|
||||||
export EDITOR="vim"
|
export EDITOR="vim"
|
||||||
export VISUAL="vim"
|
export VISUAL="vim"
|
||||||
export LESS="-RNI"
|
|
||||||
export PAGER="less $LESS"
|
|
||||||
export MANPAGER="less -+N"
|
export MANPAGER="less -+N"
|
||||||
export TERMINAL="termite"
|
export TERMINAL="termite"
|
||||||
export BROWSER="chromium"
|
export BROWSER="chromium"
|
||||||
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
|
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
|
||||||
export QT_QPA_PLATFORMTHEME=gtk2
|
export QT_QPA_PLATFORMTHEME=gtk2
|
||||||
|
|
||||||
|
export LESS="-RNI"
|
||||||
|
export PAGER="less $LESS"
|
||||||
|
export LESS_TERMCAP_mb=$(tput bold; tput setaf 2) # green
|
||||||
|
export LESS_TERMCAP_md=$(tput bold; tput setaf 6) # cyan
|
||||||
|
export LESS_TERMCAP_me=$(tput sgr0)
|
||||||
|
export LESS_TERMCAP_so=$(tput bold; tput setaf 4) # blue
|
||||||
|
export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
|
||||||
|
export LESS_TERMCAP_us=$(tput smul; tput bold; tput setaf 7) # white
|
||||||
|
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)
|
||||||
|
|
||||||
# Source secret keys and values into environment
|
# Source secret keys and values into environment
|
||||||
if [ -f "$CONFIG_DIR/secrets" ]; then
|
if [ -f "$CONFIG_DIR/secrets" ]; then
|
||||||
set -o allexport
|
set -o allexport
|
||||||
|
Loading…
Reference in New Issue
Block a user