diff --git a/files/fish/config.fish b/files/fish/config.fish index 338b857..0d757fc 100644 --- a/files/fish/config.fish +++ b/files/fish/config.fish @@ -2,7 +2,9 @@ set -g fish_user_paths "/usr/local/sbin" $fish_user_paths set -x PIPENV_VENV_IN_PROJECT true -eval "$(/opt/homebrew/bin/brew shellenv)" +if [ -x /opt/homebrew/bin/brew ] + eval "$(/opt/homebrew/bin/brew shellenv)" +end export GOPATH="$HOME/.go" if type -q brew diff --git a/install b/install index 69f53af..dcab7ea 100755 --- a/install +++ b/install @@ -36,7 +36,7 @@ if [[ $platform == "Darwin" ]]; then if uninstalled brew; then /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" fi - brew bundle --no-lockfile --file ./files/Brewfile + brew bundle --no-lock --file ./files/Brewfile # iTerm2 defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/.dotfiles/files/iterm2"