oh my zsh - RLidea/dev.docs GitHub Wiki

oh my zsh

zsh

ํ„ฐ๋ฏธ๋„ ์ดˆ๋ณด์˜ ํ•„์ˆ˜ํ’ˆ์ธ Oh My ZSH!๋ฅผ ์‚ฌ์šฉํ•˜์ž

์„ค์น˜ ์—ฌ๋ถ€ ํ™•์ธ

$ zsh --version
zsh 5.0.7

์„ค์น˜

sudo apt-get update
sudo apt-get install zsh
$ brew update
$ brew install zsh

์ ์šฉ

๊ธฐ๋ณธ ์„ค์ • ํ™•์ธ
$ echo $SHELL
/bin/bash

(maxOS์˜ ๊ฒฝ์šฐ) vi /etc/shells ์—์„œ /bin/zsh/๊ฐ€ ๋“ฑ๋ก๋˜์–ด์žˆ๋Š”์ง€ ํ™•์ธ.

zsh์ ์šฉ
$ which zsh               #์‰˜์˜ ์œ„์น˜๋ฅผ ํ™•์ธํ•œ๋‹ค.
/usr/bin/zsh
$ chsh -s /usr/bin/zsh    #๊ธฐ๋ณธ ์‰˜์„ ๋ณ€๊ฒฝํ•œ๋‹ค.
$ chsh -s `which zsh`     #์œ„ ๋‘ ๊ฐœ์˜ ๋ช…๋ น์„ ํ•˜๋‚˜๋กœ ์ค„์ผ ์ˆ˜๋„ ์žˆ๋‹ค.

Oh My Zsh ์„ค์น˜

$ curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
Meui-MacBook-Pro% 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:00:01 --:--:--     0
100  4025  100  4025    0     0   2178      0  0:00:01  0:00:01 --:--:--  6686
Cloning Oh My Zsh...
Cloning into '/Users/me/.oh-my-zsh'...
remote: Counting objects: 857, done.
remote: Compressing objects: 100% (720/720), done.
remote: Total 857 (delta 16), reused 775 (delta 10), pack-reused 0
Receiving objects: 100% (857/857), 572.22 KiB | 552.00 KiB/s, done.
Resolving deltas: 100% (16/16), done.
Looking for an existing zsh config...
Using the Oh My Zsh template file and adding it to ~/.zshrc
         __                                     __   
  ____  / /_     ____ ___  __  __   ____  _____/ /_  
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ 
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / 
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  
                        /____/                       ....is now installed!


Please look over the ~/.zshrc file to select plugins, themes, and options.

p.s. Follow us at https://twitter.com/ohmyzsh.

p.p.s. Get stickers and t-shirts at https://shop.planetargon.com.

์‚ญ์ œ

sh ~/.oh-my-zsh/tools/uninstall.sh

์‚ญ์ œ ํ›„ : bash - After installing oh-my-zsh: ... /.zshrc:source:34: no such file or directory ... /.oh-my-zsh/oh-my-zsh.sh - Unix & Linux Stack Exchange

agnoster ํ…Œ๋งˆ ์„ค์ •

์ทจ๋ฏธ๋กœ ํ•˜๋Š” ํ”„๋กœ๊ทธ๋ž˜๋ฐ !!! :: Mac -- zsh ์„ค์ •ํ•˜๊ธฐ
oh-my-zsh ์„ค์น˜ ๋ฐ ์ ์šฉํ•˜๊ธฐ
[oh-my-zsh ํ…Œ๋งˆ ๋ณ€๊ฒฝ ๋ฐ ์„ค์ • (alias, agnoster ๋ฉ€ํ‹ฐ๋ผ์ธ, ์‚ฌ์šฉ์ž๋ช… ์ˆจ๊น€์ฒ˜๋ฆฌ) ยท ์ดˆ๋ณด๋ชฝํ‚ค์˜ ๊ฐœ๋ฐœ๊ณต๋ถ€๋กœ๊ทธ]
agnoster(oh-my-zsh ํ…Œ๋งˆ) ๋ฉ€ํ‹ฐ๋ผ์ธ์œผ๋กœ ์‚ฌ์šฉํ•˜๊ธฐ(https://wayhome25.github.io/etc/2017/03/12/zsh-alias/)
font master download : GitHub - powerline/fonts: Patched fonts for Powerline users.

โš ๏ธ **GitHub.com Fallback** โš ๏ธ