zsh
- https://www.zsh.org
- https://ohmyz.sh/
- ์ธํฐ๋ํฐ๋ธํ ์ฌ์ฉ์ ์ํด ์ค๊ณ๋ ์, ํ์ํํ ์คํฌ๋ฆฝํ
์ธ์ด
- git ์ฌ์ฉ์ ๋ธ๋์น ๋ฑ์ ํ๋กฌํํธ์ ๋ณด์ฌ์ฃผ๋ฉฐ ๋งค์ฐ ํธ๋ฆฌํจ
- history ๊ธฐ๋ฅ ์๋์
์ค์น
sudo dnf install zsh git util-linux-user -y
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
์ค์น(๋งฅ)
- ์ ์์ ์ผ๋ก ์ค์น๋์๋ค๋ฉด cmd+N ์ผ๋ก zsh๋ก ์คํ๋จ
- ๋ง์ฝ ๊ทธ๋๋ก๋ผ๋ฉด
chsh -s /usr/local/bin/zsh
๋ช
๋ น์ผ๋ก shell ๋ณ๊ฒฝ ๊ฐ๋ฅ
Windows Git Bash
echo 'test -f ~/.bashrc && . ~/.bashrc' > ~/.bash_profile
echo 'if [ -t 1 ]; then
exec zsh
fi' > ~/.bashrc
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Plugin
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/zsh-users/zsh-autosuggestions.git
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)
Change Shell
chsh -s $(which zsh)
sudo su
passwd ec2-user
์ฐธ๊ณ