Installer: check for host-specific zshrc before trying to compile
Alan Pearce alan@bulbstudios.com
Fri, 02 Aug 2013 10:52:10 +0100
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M install → install
@@ -58,8 +58,10 @@ zfiles=( dotfiles/zsh/functions/fasd/fasd $fasd_cache dotfiles/zsh/zshrc - dotfiles/zsh/zshrc_${HOST%%.*} ) +if [[ -f dotfiles/zsh/zshrc_${HOST%%.*} ]]; then + zfiles+=dotfiles/zsh/zshrc_${HOST%%.*} +fi if [[ -e /usr/bin/emerge ]]; then zfiles+=dotfiles/zsh/zshrc_gentoo fi