Last active
December 13, 2024 16:24
-
-
Save TheGU/4e39c129ac9f4f252250f3644512dd0f to your computer and use it in GitHub Desktop.
Setup mac (brew,git, zsh with prezto, iterm2 and default app)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Brew : The missing package manager for macOS | |
# https://brew.sh/ | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Git | |
brew install git | |
git config --global core.autocrlf input | |
# mas-cli : A simple command line interface for the Mac App Store. Designed for scripting and automation. | |
# https://github.com/mas-cli/mas | |
brew install mas | |
# Zsh and prezto | |
brew install zsh | |
# zprezto : https://github.com/sorin-ionescu/prezto | |
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" | |
cp "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zlogin" ~/.zlogin | |
cp "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zlogout" ~/.zlogout | |
cp "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zpreztorc" ~/.zpreztorc | |
cp "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zprofile" ~/.zprofile | |
cp "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zshenv" ~/.zshenv | |
cp "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zshrc" ~/.zshrc | |
chsh -s /bin/zsh | |
# iterm2 : iTerm2 brings the terminal into the modern age with features you never knew you always wanted. | |
# https://www.iterm2.com/ | |
brew cask install iterm2 | |
# Default Tool | |
brew cask install teamviewer | |
brew cask install google-chrome | |
brew cask install visual-studio-code | |
brew cask install transmission | |
brew cask install vlc | |
mas install 539883307 #LINE | |
brew install dos2unix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment