git + zsh

来源:互联网 发布:网络小贷与p2p的区别 编辑:程序博客网 时间:2024/06/08 14:02

1) sudo yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel 

2) wget https://Github.com/Git/Git/archive/v2.3.0.tar.gz

3) tar xvf v2.3.0

4) cd git-2.3.0/

5) make configure

6) ./configure --prefix=/usr/local/git --with-iconv=/usr/local/libiconv

7) make all doc

8) make install install-doc install-html

9) echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrc

10) source /etc/bashrc

11) git --version

12) yum install zsh

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

原创粉丝点击