Skip to content

Commit

Permalink
M1 Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
nazo committed Jan 12, 2021
1 parent bb547c0 commit a4341da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions home/zshrc
Expand Up @@ -5,6 +5,10 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#

if [ "$(uname)" = 'Darwin' ]; then
eval $(/opt/homebrew/bin/brew shellenv)
fi

# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
Expand Down
4 changes: 3 additions & 1 deletion mac/packages.sh
@@ -1,6 +1,8 @@
#!/bin/sh

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

eval $(/opt/homebrew/bin/brew shellenv)

brew update
brew upgrade
Expand Down

0 comments on commit a4341da

Please sign in to comment.