728x90
반응형
# brew install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
vi ~/.zshrc
# 맨 마지막 줄에 추가 (m1, m2)
eval "$(/opt/homebrew/bin/brew shellenv)"
# zsh syntax-highlighting & auto-suggestions
cd ~/.oh-my-zsh/plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
git clone https://github.com/zsh-users/zsh-autosuggestions.git
# echo 명령어 사용
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
echo "source ${(q-)PWD}/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
# .zshrc의 plugins 부분에 추가해주기
vi ~/.zshrc
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
source ~/.zshrc
728x90
반응형
'개발 > 기타' 카테고리의 다른 글
LOG파일 주기 설정 (0) | 2024.11.24 |
---|---|
윈도우 choco 설치 (1) | 2024.11.19 |
MAC m2 mysql 5.7 install (0) | 2024.11.15 |
CentOS 버전 업데이트 (0) | 2022.09.13 |
CentOS - Gitlab version update (2) | 2022.09.13 |