What I do with fresh Macbook first

Install Homebrew

Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple's macOS operating system and Linux. The name is intended to suggest the idea of building software on the Mac depending on the user's taste. - Wikipedia
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install iTerm2

Why we must replace default macOS Terminal to iTerm2 ?
There are 2 ways to install iTerm2:

- Download from https://www.iterm2.com/downloads.html and drag & drop to Application.
- Use Homebrew
brew cask install iterm2
Install zsh

ZSH, also called the Z shell, is an extended version of the Bourne Shell (sh), with plenty of new features, and support for plugins and themes. Since it’s based on the same shell as Bash, ZSH has many of the same features, and switching over is a breeze.
brew install zsh
Install `oh-my-zsh`
Oh-My-Zsh is an open source, community-driven framework for managing your ZSH configuration. It comes bundled with a ton of helpful functions, helpers, plugins, themes and a few things that make you shout... “Oh My ZSH!” 
 Install with terminal
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Config material design colours

src: https://github.com/MartinSeeler/iterm2-material-design/blob/master/img/screen-mock-1.jpg

cd Downloads
curl -O https://raw.githubusercontent.com/MartinSeeler/iterm2-material-design/master/material-design-colors.itermcolors
- Go to iTerm2 > Preferences > Profiles > Colors Tab
- Click Color Presets… at the bottom right
- Click Import…
- Select the material-design-colors.itermcolors file
- Select the material-design-colors from Load Presets…

iTerm2 with Dracular theme ref: https://draculatheme.com/assets/img/screenshots/iterm.png

Không có nhận xét nào:

Đăng nhận xét