diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 8f7c6d7d4..8c5554ee5 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -13,8 +13,10 @@ export PATH=$PATH:$HOME/.iterm2 export LDFLAGS="-L/usr/local/opt/bison/lib" export CC=clang -/bin/launchctl setenv LIBRARY_PATH /usr/local/lib -/bin/launchctl setenv CPATH /usr/local/include +if test "$(uname)" = "Darwin"; then + /bin/launchctl setenv LIBRARY_PATH /usr/local/lib + /bin/launchctl setenv CPATH /usr/local/include +fi # Path to your oh-my-zsh installation. export ZSH=$HOME/.oh-my-zsh