18 tháng 4, 2020

iTerm2's configs

Install and config iTerm2 on MacOS


Install Homebrew 

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install iterm2
brew install zsh

Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Add An Alias (Permanent Alias) and custom pwd

vi ~/.zshrc.
alias l='ls -lah'
alias sb='open -a /Applications/Sublime\ Text.app'
PROMPT='$fg[cyan]%m:$fg[yellow] %T %B%30<..<%~%b %(!.#.>) '

Đăng nhận xét

Whatsapp Button works on Mobile Device only

Start typing and press Enter to search