]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - zsh/env
373a8498135b02f9d03fa4f9ad839b75e728f693
[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[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'
26
27
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
30 # files. Thanks.
31 if [[ -x /usr/bin/lesspipe ]]; then
32     eval "$(SHELL=/bin/sh lesspipe)" || echo "Broken lesspipe!" >&2
33 fi
34
35
36 source_config ~/.zsh/env.local
37
38 source_debug ". ~/.zsh/env (done)"
39
40 # vim: ft=zsh