1
0
mirror of https://github.com/danbee/mac-setup synced 2025-03-04 08:39:10 +00:00

Compare commits

...

6 Commits

Author SHA1 Message Date
60d2adedd4
Does bash work better? 2019-04-22 22:07:11 -04:00
a50d452c11
Hopefully fix the read being skipped issue 2019-04-22 22:00:58 -04:00
Daniel Barber
667b746f9b Oops, probably shouldn't restart Terminal.app here 2019-04-22 16:06:01 -04:00
Daniel Barber
e2ccede2d9 Setup dotfiles before MAS and ChunkWM 2019-04-22 16:01:21 -04:00
Daniel Barber
d2b87e2f58 Add tap for fonts and get the right cask for iTerm 2019-04-22 15:44:08 -04:00
Daniel Barber
0791f5fc7e Add tap for ChunkWM 2019-04-22 15:12:43 -04:00
8 changed files with 20 additions and 16 deletions

View File

@ -1,5 +1,6 @@
tap "thoughtbot/formulae" tap "thoughtbot/formulae"
tap "heroku/brew" tap "heroku/brew"
tap "koekeishiya/formulae"
brew "asdf" brew "asdf"
brew "chunkwm" brew "chunkwm"
brew "diceware" brew "diceware"
@ -28,13 +29,14 @@ cask "firefox"
cask "google-chrome" cask "google-chrome"
cask "imagealpha" cask "imagealpha"
cask "imageoptim" cask "imageoptim"
cask "iterm2-nightly" cask "iterm2"
cask "kaleidoscope" cask "kaleidoscope"
cask "karabiner-elements" cask "karabiner-elements"
cask "macvim" cask "macvim"
cask "phantomjs" cask "phantomjs"
cask "textmate" cask "textmate"
tap "homebrew/cask-fonts"
cask "font-source-code-pro" cask "font-source-code-pro"
cask "font-source-sans-pro" cask "font-source-sans-pro"
cask "font-sourcecodepro-nerd-font" cask "font-sourcecodepro-nerd-font"

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/usr/bin/env bash
MAC_SETUP_DIR="$HOME/mac-setup" MAC_SETUP_DIR="$HOME/mac-setup"
BOLD="\033[1m" BOLD="\033[1m"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# Ask the user to generate a code signing key for `chunkwm` # Ask the user to generate a code signing key for `chunkwm`
echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access" echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access"

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/usr/bin/env bash
cd "$HOME" cd "$HOME"
if [ $SHELL != $(which zsh) ]; then if [ $SHELL != $(which zsh) ]; then

View File

@ -606,7 +606,6 @@ for app in "Activity Monitor" \
"Photos" \ "Photos" \
"Safari" \ "Safari" \
"SystemUIServer" \ "SystemUIServer" \
"Terminal" \
"iCal"; do "iCal"; do
killall "${app}" &> /dev/null killall "${app}" &> /dev/null
done done

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# mas install 13764025890 # mas install 13764025890
mas install 1107421413 mas install 1107421413

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
export LDFLAGS="-L/usr/local/opt/zlib/lib" export LDFLAGS="-L/usr/local/opt/zlib/lib"
export CPPFLAGS="-I/usr/local/opt/zlib/include" export CPPFLAGS="-I/usr/local/opt/zlib/include"

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/usr/bin/env bash
MAC_SETUP_DIR="$HOME/mac-setup" MAC_SETUP_DIR="$HOME/mac-setup"
BOLD="\033[1m" BOLD="\033[1m"
@ -49,14 +50,6 @@ fi
step "Installing Homebrew bundle" step "Installing Homebrew bundle"
brew bundle --file="$MAC_SETUP_DIR/Brewfile" brew bundle --file="$MAC_SETUP_DIR/Brewfile"
# Setup `chunkwm`
step "Setting up ChunkWM"
"$MAC_SETUP_DIR/lib/chunkwm.sh"
# Install Mac App Store apps
step "Installing App Store apps"
"$MAC_SETUP_DIR/lib/mas.sh"
# Install dotfiles # Install dotfiles
step "Installing dotfiles" step "Installing dotfiles"
"$MAC_SETUP_DIR/lib/dotfiles.sh" "$MAC_SETUP_DIR/lib/dotfiles.sh"
@ -65,6 +58,14 @@ step "Installing dotfiles"
step "Set git author" step "Set git author"
"$MAC_SETUP_DIR/lib/git_author.sh" "$MAC_SETUP_DIR/lib/git_author.sh"
# Setup `chunkwm`
step "Setting up ChunkWM"
"$MAC_SETUP_DIR/lib/chunkwm.sh"
# Install Mac App Store apps
step "Installing App Store apps"
"$MAC_SETUP_DIR/lib/mas.sh"
# Tweak the hell out of macOS settings # Tweak the hell out of macOS settings
step "Tweaking macOS config settings (takes a while)" step "Tweaking macOS config settings (takes a while)"
"$MAC_SETUP_DIR/lib/macos.sh" "$MAC_SETUP_DIR/lib/macos.sh"