Mac -- zsh 설정하기

Mac 2016. 2. 22. 02:52
반응형

Mac -- oh my zsh 설정하기


참고 : https://github.com/robbyrussell/oh-my-zsh

         http://crasy.tistory.com/146

         https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes

         https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins

         http://zo45.tistory.com/entry/bashprofile-%EC%84%B8%ED%8C%85

         http://zanshin.net/2013/09/03/how-to-use-homebrew-zsh-instead-of-max-os-x-default/


         http://ethanschoonover.com/solarized

         http://jakoblaegdsmand.com/en/blog/how-to-get-an-awesome-looking-terminal-on-mac-os-x/

        https://xuri.me/2013/11/09/use-solarized-color-scheme-in-os-x-terminal.html


        http://blog.codefront.net/2013/10/27/installing-powerline-on-os-x-homebrew/


        https://gist.github.com/agnoster/3712874

        https://github.com/powerline/fonts  --> powerline fonts

        https://medium.com/@genealabs/agnoster-theme-on-os-x-391d60effaf6#.h7d9c12ya





http://scottlab.ucsc.edu//xtal/iterm_tab_customization.html


http://stackoverflow.com/a/15254888  --> tab window



$ brew -v

Homebrew 0.9.5


$ brew update




** zsh 설치하기


$ brew install zsh


/usr/local/bin/zsh




** oh my zsh 설치하기


sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"





➜  ~ sudo vim ~/.zshrc


ZSH_THEME="agnoster"


** 폰트 설치하기







$ sudo find / -iname "agnoster.*"

/Users/mainmac/.oh-my-zsh/themes/agnoster.zsh-theme






https://gist.github.com/logicmd/4015090


sudo vim /Users/mainmac/.oh-my-zsh/themes/agnoster.zsh-theme




terminal 다시 실행하면 ok!!!






<< Powerlevel9k 테마  >>




git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k


sudo vim ~/.zshrc


ZSH_THEME="powerlevel9k/powerlevel9k"


저장하기



terminal 다시 시작하기.



** terminal prompt 에서 사용자정보 제거하기 ; 


sudo vim ~/.oh-my-zsh/custom/themes/powerlevel9k/powerlevel9k.zsh-theme



@%m 삭제하고 저장.

 --> terminal 다시 시작하기







<< Bullet train 테마 >>


https://github.com/caiogondim/bullet-train-oh-my-zsh-theme

  --> 여기 나온데로 하면 안됨...  아래와 같이 하자!!!


$ git clone https://github.com/caiogondim/bullet-train-oh-my-zsh-theme.git ~/.oh-my-zsh/custom/themes/bullet-train


sudo vim ~/.zshrc


ZSH_THEME="bullet-train/bullet-train"


저장하기


terminal 다시 시작하기.







<< Cobalt2 >>


$ git clone https://github.com/wesbos/Cobalt2-iterm.git ~/.oh-my-zsh/custom/themes/Cobalt2



sudo vim ~/.zshrc


ZSH_THEME="Cobalt2/Cobalt2"


저장하기



terminal 다시 시작하기.














반응형
Posted by 자유프로그램
,