From 911c3807394214e3a798662718408c5a9a01f879 Mon Sep 17 00:00:00 2001 From: Ghasem Shirazi Date: Wed, 14 Apr 2021 15:23:49 -0700 Subject: [PATCH] update .zshrc --- dotfiles/.zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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