Iterm2 setting
install
brew install iterm2
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Key bindings
Send Text | Command |
---|---|
pnpm dev | ⌘ + D |
pnpm build && pnpm start | ⌘ + S |
git checkout main | ⌘ + C |
git pull origin main | ⌘ + P |
git checkout -b JIRA- | ⌘ + B |
git branch | grep -v “main” | xargs git branch -D | ⌘ + M |
lsof -t -i:3000 | xargs kill -9 | ⌘ + K |
Plugins
zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
zshrc setting
nano ~/.zshrc
plugins=(
git
zsh-autosuggestions
)
Control + O (WriteOut)
Enter (Save)
Control + X (Exit)
iterm2 color setting
Settings > Profiles > Colors > ANSI Colors > Black bright(select color)