Skip to content

terminal settings

Centell edited this page Oct 24, 2021 · 7 revisions

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

플러그인 연결

설치한 플러그인을 .zshrcplugins에 등록해주면 작동한다.

.zshrc

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

Setting

Git

git config --global user.name "your name" 
git config --global user.email "your-email@example.com"

Clone this wiki locally