Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sudo xcode-select --install || true

# Install homebrew
export HOMEBREW_NO_ENV_HINTS=true
if test ! $(which brew)
if ! command -v brew >/dev/null 2>&1
then
echo "$PREFIX Installing brew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Expand Down Expand Up @@ -46,12 +46,12 @@ done

# Install oh-my-zsh
OMZ=~/.oh-my-zsh
if test ! -d $OMZ
if test ! -d "$OMZ"
then
echo "> Installing oh my zsh..."
curl -L http://install.ohmyz.sh | sh
fi
mkdir -p $OMZ/completions
mkdir -p "$OMZ/completions"


echo "$PREFIX Install global python packages..."
Expand Down