(1) Oh-my-zsh 설치
Oh My Zsh - a delightful & open source framework for Zsh
Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with hundresd of helpful functions, plugins, themes, and a few things that make you shout... OH MY ZSH!
ohmyz.sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
(2) Theme 변경
vi ~/.zshrc
.zshrc 파일에서 ZSH_THEME 값을 변경 (default는 rubbyrussell 이며, https://github.com/ohmyzsh/ohmyzsh/wiki/Themes 에서 원하는 테마를 선택
ZSH_THEME="robbyrussell"
(3) 플러그인 설치
Syntax Highlighting (https://github.com/zsh-users/zsh-syntax-highlighting)
GitHub - zsh-users/zsh-syntax-highlighting: Fish shell like syntax highlighting for Zsh.
Fish shell like syntax highlighting for Zsh. Contribute to zsh-users/zsh-syntax-highlighting development by creating an account on GitHub.
github.com
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Auto Suggestion (https://github.com/zsh-users/zsh-autosuggestions?tab=readme-ov-file )
GitHub - zsh-users/zsh-autosuggestions: Fish-like autosuggestions for zsh
Fish-like autosuggestions for zsh. Contribute to zsh-users/zsh-autosuggestions development by creating an account on GitHub.
github.com
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
플러그인 추가하기 (~/.zshrc)
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
(참고) vi에서도 syntax highlight 기능이 있음
vi ~/.vimrc
.vimrc 파일을 열어 다음과 같이 입력
syntax on
'Study > Development' 카테고리의 다른 글
Python 문서화 (1) - Sphinx 설치 및 docstring 스타일 선택 (0) | 2022.03.22 |
---|---|
Python 3 설치 및 가상환경 구축 (0) | 2022.03.18 |
Javadoc 생성 시 한글 깨짐, UTF-8 사용하기 (0) | 2014.08.06 |