From 9290388839455c7f14e63c2c78490da3c41fb753 Mon Sep 17 00:00:00 2001 From: Laily Date: Fri, 12 Oct 2018 16:55:25 +0800 Subject: [PATCH] modify readme --- README.md | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fe71452..4e8c6da 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,27 @@ +### 使用 +```shell +# 切换到 home 目录 +cd ~ +git clone git@github.com:Laily123/.dotfile.git +``` + ### zsh 安装 安装 zsh +`https://github.com/robbyrussell/oh-my-zsh/wiki/Installing-ZSH` +macOS +```shell +brew install zsh zsh-completions +``` + 安装 oh-my-zsh -`sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"` +```shell +sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" +``` 初始化配置 -`ln -sf ~/.dotfile/.zshrc ~/` -`ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/` +```shell +ln -sf ~/.dotfile/.zshrc ~/ +ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/ +``` ### spacevim 安装 安装 @@ -12,4 +29,8 @@ 初始化配置 `ln -sf ~/.dotfile/.SpaceVim.d ~/` +### git config +```shell +ls -sf ~/.dotfile/.gitconfig ~/.gitconfig +```