diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 1dcaf8f..41f1818 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -1,6 +1,8 @@ # mac specific configuration -touch $HOME/.hushlogin -eval "$(/opt/homebrew/bin/brew shellenv)" +if [[ $(uname -s) = "Darwin" ]]; then + touch $HOME/.hushlogin + eval "$(/opt/homebrew/bin/brew shellenv)" +fi # prepare directories mkdir -p $XDG_CACHE_HOME/zsh