From 8206e6988094c97b6101f90ca38116913f85a7d2 Mon Sep 17 00:00:00 2001 From: Rachel Fae Fox Date: Sat, 8 Aug 2020 18:15:39 -0400 Subject: [PATCH] fixed "no such file or directory" on launch --- profilevars | 6 +++--- zshrc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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