diff --git a/profilevars b/profilevars index 2155254..841fad8 100644 --- a/profilevars +++ b/profilevars @@ -11,13 +11,13 @@ fi # Platorm Specific Vars case $OSTYPE in darwin*) - . ~/dotfiles/profilevars_mac + [ -f ~/dotfiles/profilevars_mac ] && . ~/dotfiles/profilevars_mac ;; freebsd*) - . ~/dotfiles/profilevars_bsd + [ -f ~/dotfiles/profilevars_bsd ] && . ~/dotfiles/profilevars_bsd ;; linux-gnu) - . ~/dotfiles/profilevars_linux + [ -f ~/dotfiles/profilevars_linux] && . ~/dotfiles/profilevars_linux ;; esac export PATH EDITOR GIT_EDITOR PAGER BROSWER LC_ALL \ No newline at end of file diff --git a/zshrc b/zshrc index 76e7187..d7362c9 100644 --- a/zshrc +++ b/zshrc @@ -15,12 +15,12 @@ prompt clint # Load additions case $OSTYPE in darwin*) - . ~/dotfiles/zshrc_mac + [ -f ~/dotfiles/zshrc_mac ] && . ~/dotfiles/zshrc_mac ;; freebsd*) - . ~/dotfiles/zshrc_bsd + [ -f ~/dotfiles/zshrc_bsd ] && . ~/dotfiles/zshrc_bsd ;; linux-gnu) - . ~/dotfiles/zshrc_linux + [ -f ~/dotfiles/zshrc_linux] && . ~/dotfiles/zshrc_linux ;; esac