tmp/Tip

oh my zsh

fkillrra 2018. 2. 28. 17:48

[install]


apt-get install zsh 

apt-get install git-core

wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh


chsh -s `which zsh`


vim ~/.zshrc 하여 테마 변경 -> .zshrc 의 ZSH_THEME="agnoster"


cd ~ ; git clone https://github.com/powerline/fonts.git


cd fonts; ./install.sh


여기까지 하고, 터미널 설정을 바꿔주면 되는데


font는 Liberation Mono Bold 로 바꿔준다.


추가적으로 root는 테마가 적용되지 않기 때문에 적용시킨 계정의 ~/.zshrc를 그대로 root의 ~ 위치에 복사해준다.


[기본쉘로 변경]


chsh [계정이름]

passwd : ****

/usr/bin/zsh 로 변경하면 된다.


[install]

https://gist.github.com/tsabat/1498393


[theme]

http://shayete.tistory.com/entry/Linux-OhmyZsh-agnoster-theme-%EC%84%A4%EC%A0%95


반응형