]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - zsh/env
Less configuration is now done through a .less file.
[config/dotfiles.git] / zsh / env
1 # Zsh configuration file for environment related options.
2
3
4 # Use UTF-8 encoding in the terminal.
5 export LC_ALL=en_US.UTF-8
6
7 # Set Vim as my editor.
8 export EDITOR=vim
9
10 # Set less as my pager, its configuration is done through the .less file.
11 export PAGER=less
12
13
14 # If an env.local file exists load it, otherwise load an env file for the
15 # current hostname (first part before a dot) if it exists.
16 host=${$(hostname)//.*/}
17 if [[ -f ~/.zsh/env.local ]]; then;
18     source ~/.zsh/env.local
19 elif [[ -f ~/.zsh/env.$host ]]; then;
20     source ~/.zsh/env.$host
21 fi