IT정보/Install

[Mac] Iterm2 자동완성, syntax Highlighter

멋쟁휘개발자 2024. 8. 27. 01:41

1. git clone

#자동완성
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

 

# highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

 

 

 

2. 에디터 열기

$ open ~/.zshrc

 

 

 

 

3. 에티터에서 plugins  부분을 아래와 같이 바꿈

plugins=( 
    # other plugins...
    zsh-autosuggestions
    
    # other plugins...
    zsh-syntax-highlighting
)