Skip to content

Commit

Permalink
2018-06-20 更换 github 的一些脚本地址
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Jun 20, 2018
1 parent 555b8fe commit 7ab7e06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion favorite-file/shell/install_common_vim_zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo "-----------------------------------------开始安装 zsh"
yum install -y zsh

echo "-----------------------------------------开始安装 oh-my-zsh"
wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh
wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh

echo "-----------------------------------------设置默认终端为 oh-my-zsh"
chsh -s /bin/zsh root
Expand Down
2 changes: 1 addition & 1 deletion markdown-file/Zsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- oh-my-zsh 帮我们整理了一些常用的 Zsh 扩展功能和主题:<https://github.com/robbyrussell/oh-my-zsh>
- 我们无需自己去捣搞 Zsh,直接用 oh-my-zsh 就足够了,如果你想继续深造的话那再去弄。
- 先安装 git:`sudo yum install -y git`
- 安装 oh-my-zsh(这个过程可能会有点慢,或者需要重试几次):`wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh`
- 安装 oh-my-zsh(这个过程可能会有点慢,或者需要重试几次):`wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh`
- 整个过程效果如下图:
- ![oh-my-zsh 安装](../images/Zsh-a-1.jpg)
- 在以 root 用户为前提下,oh-my-zsh 的安装目录:**/root/.oh-my-zsh**
Expand Down

0 comments on commit 7ab7e06

Please sign in to comment.