From 11b07f1d6b9e7f0f5d455042e142b24d4464dcb6 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 15 Aug 2022 16:14:34 -0400 Subject: [PATCH] Fix path and source spotify zprofile --- zsh/.zprofile | 3 ++- zsh/.zshrc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/zsh/.zprofile b/zsh/.zprofile index 291284e..56afadf 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,5 +1,5 @@ typeset -U path -path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/homebrew/opt/ruby/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path) +path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin /opt/homebrew/opt/ruby/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path) if [[ -f "/opt/homebrew/bin/brew" ]]; then eval "$(/opt/homebrew/bin/brew shellenv)" @@ -8,3 +8,4 @@ fi eval "$(pyenv init --path)" [[ -d "/opt/homebrew/opt/openjdk@17" ]] && export JAVA_HOME="/opt/homebrew/opt/openjdk@17" ulimit -n 524288 +[[ -f "$HOME/.zprofile-spotify" ]] && source "$HOME/.zprofile-spotify" diff --git a/zsh/.zshrc b/zsh/.zshrc index f883383..132d29e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,7 +1,7 @@ # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH typeset -U path -path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/homebrew/opt/ruby/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path) +path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin /opt/homebrew/opt/ruby/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path) # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh"