[터미널] M1 mac에서 .zshrc경로 설정하기

hyeonze·2021년 12월 8일
0

결론

경로 중 /usr/local/opt/homebrew로 수정

Intel mac에서

source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh

M1 mac에서

#.zshrc에 추가할 코드
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh

#추가 후 터미널에서 source .zshrc 실행
#설치한 플러그인 잘 실행되는지 확인

참고한 블로그

profile
Advanced thinking should be put into advanced code.

0개의 댓글