]> arthur.barton.de Git - ax-zsh.git/blob - core/80_local_config/80_local_config.zshrc
80_local_config: Read $HOME/.z{login|zlogout|zprofile|zshrc}.local
[ax-zsh.git] / core / 80_local_config / 80_local_config.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # 80_local_config.zshrc: Read local configuration
3
4 if [[ -r "$HOME/.zshrc.local" ]]; then
5         [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zshrc.local:"
6         source "$HOME/.zshrc.local"
7         [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zshrc.local (end)"
8 fi
9
10 if [[ -r "/var/lib/$HOST/zshrc" ]]; then
11         [[ -f "$HOME/.axzsh.debug" ]] && echo "» /var/lib/$HOST/zshrc:"
12         source "/var/lib/$HOST/zshrc"
13         [[ -f "$HOME/.axzsh.debug" ]] && echo "» /var/lib/$HOST/zshrc (end)"
14 fi