Here there are some scripts to install automatically all my applications and settings on a fresh OSX machine
- Note 1: not all the applications have a cask install, therefore they must be installed automatically
- Note 2: it's better to install Xcode first from the app store before running the bootstrap script. Otherwise, Homebrew can't access the Xcode libraries as the agreement hasn't been accepted yet.
- Run
echo "Installing xcode"
xcode-select --install
- Run
echo "Starting bootstrapping"
echo "Create dev folder"
cd /Users/andreamele
mkdir -v dev
echo ""
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
echo ""
brew update
echo ""
echo "Cleaning up..."
brew cleanup
echo ""
echo "Installing cask..."
echo ""
brew install caskroom/cask/brew-cask
brew tap homebrew/cask-fonts
CASKS=(
firefox
iterm2
slack
daisydisk
spectacle
lepton
istat-menus
hyperswitch
1password
discord
visual-studio-code
font-hack-nerd-font
runjs
spotify
gitkraken
postman
)
echo "Installing cask apps..."
brew cask install ${CASKS[@]}
VSCODE_EXTENTIONS=(
)
echo "Configuring oh my zsh"
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo "Cloning powerLevel9K into oh-my-zsh/custom/themes/powerlevel9k"
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
echo "Configuring OSX..."
echo ""
echo "Showing all filename extensions in Finder by default"
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
echo ""
echo "Allowing text selection in Quick Look/Preview in Finder by default"
defaults write com.apple.finder QLEnableTextSelection -bool true
echo ""
echo "Disabling the warning when changing a file extension"
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
echo "Bootstrapping complete"
- Yoink
- Magnet
- Logi Options
- Alfred
- Node Verrsion Control
- Vue
- Add instructions to set iterm2 and its fonts
- Add usufull links to finish the settings
- Add a list of scripts to set aliases
- Save vscode settings and extentions
- set up ssh keys
- Profile:
General /Users/andreamele/dev
- Badge: 👾
- Working Directory, Directory: /Users/andreamele/dev Colors
- Foreground Color: rgbhex 839496
- Background Color: rgbhex 002b36
- Bold Color: rgbhex 93a1a1
- Link Color: rgbhex b37208
- Cursor Guide: rgbhex 58b9d9 ( High opacity )
- Link Color: rgbhex b37208
- Download: maerial font colors then import in color presets Font
- Meslo LG M Regular Nerd Font Mono download font Keys
- Preset: Natural Text Editing
- Set in .zshrc: ZSH_THEME="powerlevel9k/powerlevel9k"
- Set in .zshrc: POWERLEVEL9K_MODE='nerdfont-complete'
- [ ]