본문 바로가기
프로그래밍/ZSH

Oh-My-ZSH 에서 플러그인 추가하기

by dryadyou 2020. 12. 25.
반응형

Oh-My-Zsh 플러그인 추가방법

zsh-syntax-highlighting

  1. zsh-syntax-highlighting 플러그인 다운로드
    $ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  2. 플러그인 활성화
    $ nano ~/.zshrc  또는 code ~/.zshrc
    ...
    ...
    plugins=( [plugins...] zsh-syntax-highlighting)

zsh-autosuggestions

  1. 클론 zsh-autosuggestions repository
    $ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  2. 플러그인 활성화
    $ nano ~/.zshrc  또는 code ~/.zshrc
    ...
    ...
    plugins=( [plugins...] zsh-autosuggestions)
반응형

댓글