본문 바로가기

개발노트/LINUX

리눅스 zsh 설정 간략 명령어 정리

# yum install -y zsh

# echo $(which zsh) >> /etc/shells

# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# cd ~

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

# git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

 

# vim ~/.zshrc

```

plugins 에 zsh-autosuggestions, zsh-syntax-highlighting 추가

theme 을 kennethreitz 로 변경(한글 커서 위치 문제 없음)

```

# source ~/.zshrc

반응형