mirror of
https://github.com/danbee/mac-setup
synced 2025-03-04 08:39:10 +00:00
Compare commits
No commits in common. "60d2adedd4ec929812458103c94839f8d6b2505b" and "6269f15b36cf39b872dd4f1589301c6906893491" have entirely different histories.
60d2adedd4
...
6269f15b36
4
Brewfile
4
Brewfile
@ -1,6 +1,5 @@
|
|||||||
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"
|
||||||
@ -29,14 +28,13 @@ cask "firefox"
|
|||||||
cask "google-chrome"
|
cask "google-chrome"
|
||||||
cask "imagealpha"
|
cask "imagealpha"
|
||||||
cask "imageoptim"
|
cask "imageoptim"
|
||||||
cask "iterm2"
|
cask "iterm2-nightly"
|
||||||
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"
|
||||||
|
|||||||
3
extra.sh
3
extra.sh
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
|
|
||||||
MAC_SETUP_DIR="$HOME/mac-setup"
|
MAC_SETUP_DIR="$HOME/mac-setup"
|
||||||
|
|
||||||
BOLD="\033[1m"
|
BOLD="\033[1m"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
|
|
||||||
# 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"
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
|
|
||||||
cd "$HOME"
|
cd "$HOME"
|
||||||
|
|
||||||
if [ $SHELL != $(which zsh) ]; then
|
if [ $SHELL != $(which zsh) ]; then
|
||||||
|
|||||||
@ -606,6 +606,7 @@ 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
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
|
|
||||||
# mas install 13764025890
|
# mas install 13764025890
|
||||||
mas install 1107421413
|
mas install 1107421413
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
|
|
||||||
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"
|
||||||
|
|||||||
19
setup.sh
19
setup.sh
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
|
|
||||||
MAC_SETUP_DIR="$HOME/mac-setup"
|
MAC_SETUP_DIR="$HOME/mac-setup"
|
||||||
|
|
||||||
BOLD="\033[1m"
|
BOLD="\033[1m"
|
||||||
@ -50,14 +49,6 @@ fi
|
|||||||
step "Installing Homebrew bundle"
|
step "Installing Homebrew bundle"
|
||||||
brew bundle --file="$MAC_SETUP_DIR/Brewfile"
|
brew bundle --file="$MAC_SETUP_DIR/Brewfile"
|
||||||
|
|
||||||
# Install dotfiles
|
|
||||||
step "Installing dotfiles"
|
|
||||||
"$MAC_SETUP_DIR/lib/dotfiles.sh"
|
|
||||||
|
|
||||||
# Setup git author
|
|
||||||
step "Set git author"
|
|
||||||
"$MAC_SETUP_DIR/lib/git_author.sh"
|
|
||||||
|
|
||||||
# Setup `chunkwm`
|
# Setup `chunkwm`
|
||||||
step "Setting up ChunkWM"
|
step "Setting up ChunkWM"
|
||||||
"$MAC_SETUP_DIR/lib/chunkwm.sh"
|
"$MAC_SETUP_DIR/lib/chunkwm.sh"
|
||||||
@ -66,6 +57,14 @@ step "Setting up ChunkWM"
|
|||||||
step "Installing App Store apps"
|
step "Installing App Store apps"
|
||||||
"$MAC_SETUP_DIR/lib/mas.sh"
|
"$MAC_SETUP_DIR/lib/mas.sh"
|
||||||
|
|
||||||
|
# Install dotfiles
|
||||||
|
step "Installing dotfiles"
|
||||||
|
"$MAC_SETUP_DIR/lib/dotfiles.sh"
|
||||||
|
|
||||||
|
# Setup git author
|
||||||
|
step "Set git author"
|
||||||
|
"$MAC_SETUP_DIR/lib/git_author.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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user