본문 바로가기
  •                        自分に負けずやれば出来る
  • 自分を信じる
Computer/Error

[zsh설정] zsh-syntax-highlighting, history-substring-search 설정 Error 해결방법

by Divertome 2021. 3. 22.

github.com/ohmyzsh/ohmyzsh/issues/7688

 

Warning: plugin zsh-syntax-highlighting not found · Issue #7688 · ohmyzsh/ohmyzsh

mac 10.14.3 Just updated to the latest oh-my-zsh by pulling master and am getting the following warning now when starting a new shell. Warning: plugin zsh-syntax-highlighting not found Warning: plu...

github.com

 

zsh-syntax-highlighting과 history-substring-search 라는 플러그인을 설치를 위해

vim ~/.zshrc에서 plugin 부분에 해당 플러그인을 추가하여 설정하였으나 에러가 발생했다.

에러 코드: [oh my zsh] plugin zsh-syntax-highlighting not found

구글링 결과 git에 직접 클론해서 해결했다는 분이 계셔서 소개하려 한다.

//I solve it by the command :

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

/*on-my-zsh check if the plugin is exit at '$base_dir/plugins/$name/$name.plugin.zsh' or '$base_dir/plugins/$name/_$name' , so the plugin should be at this path .*/