terminal settings - RLidea/dev.docs GitHub Wiki

Customize

Command + , > Profiles

Install

Brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew update

Zsh

brew install zsh

Install oh my zsh

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

Plugins

zsh plugin ์ด ์ €์žฅ๋˜๋Š” ๊ฒฝ๋กœ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๊ณ , ํ™˜๊ฒฝ๋ณ€์ˆ˜ $ZSH_CUSTOM๋กœ ํ˜ธ์ถœ ๊ฐ€๋Šฅํ•˜๋‹ค.

~/.oh-my-zsh/custom/plugins/

์ถ”์ฒœ ํ”Œ๋Ÿฌ๊ทธ์ธ ์„ค์น˜

# zsh-syntax-highlighting ํ•˜์ด๋ผ์ดํŒ…
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# zsh-autosuggestions ๋ช…๋ น์–ด ์ž๋™ ์ถ”์ฒœ
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

ํ”Œ๋Ÿฌ๊ทธ์ธ ์—ฐ๊ฒฐ

์„ค์น˜ํ•œ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ .zshrc์˜ plugins์— ๋“ฑ๋กํ•ด์ฃผ๋ฉด ์ž‘๋™ํ•œ๋‹ค.

.zshrc

plugins=(
  git
  zsh-syntax-highlighting
  zsh-autosuggestions
)

Setting

Git

git config --global user.name "your name" 
git config --global user.email "[email protected]"