fix: modify readme

This commit is contained in:
2019-01-15 14:09:11 +08:00
parent 7ea44f08d6
commit 0d05a66215
+7 -10
View File
@@ -1,16 +1,17 @@
### 使用 ### 使用
```shell ```shell
# 切换到 home 目录
cd ~
git clone https://github.com/Laily123/.dotfile.git ~/.dotfile git clone https://github.com/Laily123/.dotfile.git ~/.dotfile
``` ```
### zsh 安装 ### zsh 安装
安装 zsh 安装 zsh
`https://github.com/robbyrussell/oh-my-zsh/wiki/Installing-ZSH`
macOS
```shell ```shell
https://github.com/robbyrussell/oh-my-zsh/wiki/Installing-ZSH
# macOS
brew install zsh zsh-completions brew install zsh zsh-completions
# CentOS
sudo yum -y install zsh
# Ubuntu
apt install zsh
``` ```
安装 oh-my-zsh 安装 oh-my-zsh
@@ -22,6 +23,7 @@ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/to
ln -sf ~/.dotfile/.zshrc ~/ ln -sf ~/.dotfile/.zshrc ~/
ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/ ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/
ln -sf ~/.dotfile/.tmux.conf ~/ ln -sf ~/.dotfile/.tmux.conf ~/
ln -sf ~/.dotfile/.gitconfig ~/.gitconfig
``` ```
### spacevim 安装 ### spacevim 安装
@@ -30,8 +32,3 @@ ln -sf ~/.dotfile/.tmux.conf ~/
初始化配置 初始化配置
`ln -sf ~/.dotfile/.SpaceVim.d ~/` `ln -sf ~/.dotfile/.SpaceVim.d ~/`
### git config
```shell
ln -sf ~/.dotfile/.gitconfig ~/.gitconfig
```