zsh and oh-my-zsh
빠른 작업을 위한 Shell 최적화
zsh 및 oh-my-zsh 설치
Linux 환경
### Cloud9 환경에서 su 명령을 이용해 bash 로 변경. 유저는 선택사항입니다.
ec2-user:~/environment $ sudo -i
[root@ip-172-31-8-195]~# su - ec2-user
[ec2-user@ip-172-31-8-195]~%
### zsh 설치
[ec2-user@ip-172-31-8-195]~% sudo yum install zsh
Complete!
### ec2-user password 설정.
[ec2-user@ip-172-31-8-195]~% sudo -i
[root@ip-172-31-8-195 ~]# passwd ec2-user
...
passwd: all authentication tokens updated successfully.
### bash 에서 zsh 로 shell 변경
[root@ip-172-31-8-195 ~]# exit
logout
[ec2-user@ip-172-31-8-195]~% $ which zsh
/bin/zsh
[ec2-user@ip-172-31-8-195]~% $ chsh -s /bin/zsh
Changing shell for ec2-user.
Password:
Shell changed.
[ec2-user@ip-172-31-8-195]~% echo $SHELL ### shell 변경 확인.
/bin/zsh
### Oh my zsh 설치
[ec2-user@ip-172-31-8-195]~% curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 8445 100 8445 0 0 12776 0 --:--:-- --:--:-- --:--:-- 37202
.....
__ __
____ / /_ ____ ___ __ __ ____ _____/ /_
/ __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \
/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / /
\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/
/____/ ....is now installed!
Please look over the ~/.zshrc file to select plugins, themes, and options.
p.s. Follow us on https://twitter.com/ohmyzsh
p.p.s. Get stickers, shirts, and coffee mugs at https://shop.planetargon.com/collections/oh-my-zsh
Run zsh to try it out.Mac 환경
Last updated
Was this helpful?