Created
June 1, 2014 01:43
-
-
Save memememomo/fd89708e4490fb76b4b9 to your computer and use it in GitHub Desktop.
zsh と oh-my-zsh を入れて、zshに再入門した ref: http://qiita.com/uchiko/items/253088bb0d7bbf574bff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LANG=ja_JP.UTF-8 | |
alias vi="vim -u NONE --noplugin" | |
alias v=vim | |
alias g=git | |
alias pl=perl | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
などなど... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ wget http://downloads.sourceforge.net/project/zsh/zsh/5.0.5/zsh-5.0.5.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fzsh%2Ffiles%2F&ts=1401584908&use_mirror=jaist | |
$ tar jxvf zsh-5.0.5.tar.bz2 | |
$ cd zsh-5.0.5 | |
$ ./configure && make && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh | |
$ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/shells | |
/bin/sh | |
/bin/bash | |
/sbin/nologin | |
/bin/tcsh | |
/bin/csh | |
/bin/ksh | |
/usr/local/bin/zsh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ chsh -s /usr/local/bin/zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment