mirror of
https://github.com/danbee/mac-setup
synced 2025-03-04 08:39:10 +00:00
Compare commits
6 Commits
6269f15b36
...
60d2adedd4
| Author | SHA1 | Date | |
|---|---|---|---|
| 60d2adedd4 | |||
| a50d452c11 | |||
|
|
667b746f9b | ||
|
|
e2ccede2d9 | ||
|
|
d2b87e2f58 | ||
|
|
0791f5fc7e |
4
Brewfile
4
Brewfile
@ -1,5 +1,6 @@
|
||||
tap "thoughtbot/formulae"
|
||||
tap "heroku/brew"
|
||||
tap "koekeishiya/formulae"
|
||||
brew "asdf"
|
||||
brew "chunkwm"
|
||||
brew "diceware"
|
||||
@ -28,13 +29,14 @@ cask "firefox"
|
||||
cask "google-chrome"
|
||||
cask "imagealpha"
|
||||
cask "imageoptim"
|
||||
cask "iterm2-nightly"
|
||||
cask "iterm2"
|
||||
cask "kaleidoscope"
|
||||
cask "karabiner-elements"
|
||||
cask "macvim"
|
||||
cask "phantomjs"
|
||||
cask "textmate"
|
||||
|
||||
tap "homebrew/cask-fonts"
|
||||
cask "font-source-code-pro"
|
||||
cask "font-source-sans-pro"
|
||||
cask "font-sourcecodepro-nerd-font"
|
||||
|
||||
3
extra.sh
3
extra.sh
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
MAC_SETUP_DIR="$HOME/mac-setup"
|
||||
|
||||
BOLD="\033[1m"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Ask the user to generate a code signing key for `chunkwm`
|
||||
echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access"
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd "$HOME"
|
||||
|
||||
if [ $SHELL != $(which zsh) ]; then
|
||||
|
||||
@ -606,7 +606,6 @@ for app in "Activity Monitor" \
|
||||
"Photos" \
|
||||
"Safari" \
|
||||
"SystemUIServer" \
|
||||
"Terminal" \
|
||||
"iCal"; do
|
||||
killall "${app}" &> /dev/null
|
||||
done
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# mas install 13764025890
|
||||
mas install 1107421413
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export LDFLAGS="-L/usr/local/opt/zlib/lib"
|
||||
export CPPFLAGS="-I/usr/local/opt/zlib/include"
|
||||
|
||||
19
setup.sh
19
setup.sh
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
MAC_SETUP_DIR="$HOME/mac-setup"
|
||||
|
||||
BOLD="\033[1m"
|
||||
@ -49,14 +50,6 @@ fi
|
||||
step "Installing Homebrew bundle"
|
||||
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
|
||||
step "Installing dotfiles"
|
||||
"$MAC_SETUP_DIR/lib/dotfiles.sh"
|
||||
@ -65,6 +58,14 @@ step "Installing dotfiles"
|
||||
step "Set git author"
|
||||
"$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
|
||||
step "Tweaking macOS config settings (takes a while)"
|
||||
"$MAC_SETUP_DIR/lib/macos.sh"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user