문서의 이전 판입니다!


zsh

Bash 보다 좋음.

설치

Zsh 설치

sudo apt install zsh

Oh My Zsh 설치.

git, curl 설치가 되어 있어야함.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
nano ~/.zshrc

설정

단축명령어

nano ~/.zshrc 할 때

하는 김에

alias ll = "ls -la"

맨 마지막에 추가

사용

chsh -s /bin/zsh

기본쉘을 zsh로 변경

플러긴

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:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
nano ~/.zshrc
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git
zsh-syntax-highlighting
 zsh-autosuggestions
)

참고

연결문서