-
Notifications
You must be signed in to change notification settings - Fork 0
terminal settings
Centell edited this page Oct 24, 2021
·
7 revisions
Command + , > Profiles
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew update
brew install zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
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
)
git config --global user.name "your name"
git config --global user.email "your-email@example.com"