Information*/Troubleshoot

zsh plugin 오류

ch4rli3kop 2023. 4. 26. 14:49
반응형

zsh plugin 오류

zsh 설치하다가 다음과 같은 오류가 발생했는데, 해결방법에 대한 한국어 자료가 없는 것 같아서 정리한다.

ch4rli3kop in [~] 14:20:45 › zsh
[oh-my-zsh] plugin 'git,' not found
[oh-my-zsh] plugin 'zsh-autosuggestions,' not found
[oh-my-zsh] plugin 'zsh-syntax-highlighting,' not found

다음과 같이 .zshrc 파일에서 plugins이 ,를 사용해서 구분되면 위와 같은 오류가 발생한다.

# ~/.zshrc
plugins=(git, zsh-autosuggestions, autojump)

밑에처럼 수정하면 해결

# ~/.zshrc
plugins=(
	git
	zsh-autosuggestions
	autojump
)

 

반응형