]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - zsh/env
zsh/env: Color man pages viewed in less.
[config/dotfiles.git] / zsh / env
1 # Zsh configuration file for environment related options.
2
3
4 . ~/.shell/functions
5
6 source_debug ". ~/.zsh/env"
7
8 source_config ~/.shell/env
9
10
11 # Make sure elements in PATH are unique.
12 typeset -U path PATH
13
14 # Color man pages viewed with less, thanks to
15 # http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html
16 #
17 # Color bold strings in bold blue.
18 export LESS_TERMCAP_md=$'\e[01;34m'
19 export LESS_TERMCAP_me=$'\e[0m'
20 # Color underlined strings in bold yellow and underlined.
21 export LESS_TERMCAP_us=$'\e[04;1;33m'
22 export LESS_TERMCAP_ue=$'\e[0m'
23
24
25 source_config ~/.zsh/env.local
26
27 source_debug ". ~/.zsh/env (done)"
28
29 # vim: ft=zsh