1 # Zsh configuration file for environment related options.
6 source_debug ". ~/.zsh/env"
8 source_config ~/.shell/env
11 # Make sure elements in PATH are unique.
14 # Color man pages viewed with less, thanks to
15 # http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html
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[01;4;33m'
22 export LESS_TERMCAP_ue=$'\e[0m'
23 # Color standout mode in bold black with yellow background.
24 export LESS_TERMCAP_so=$'\e[01;30;43m'
25 export LESS_TERMCAP_se=$'\e[0m'
28 # Setup lesspipe to view multiple file-types (like .gz, .zip, etc.) with less.
29 # Useful in combination with the "p" alias. Taken from Debian's default bash
31 if [[ -x /usr/bin/lesspipe ]]; then
32 eval "$(SHELL=/bin/sh lesspipe)" || echo "Broken lesspipe!" >&2
36 source_config ~/.zsh/env.local
38 source_debug ". ~/.zsh/env (done)"