feat: update readme
This commit is contained in:
@@ -1,43 +1,15 @@
|
|||||||
### 使用
|
### 使用
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/Laily123/.dotfile.git ~/.dotfile
|
git clone https://github.com/hilaily/.dotfile.git ~/.dotfile
|
||||||
```
|
```
|
||||||
|
|
||||||
### zsh 安装
|
首先安装 fish
|
||||||
|
|
||||||
安装 zsh
|
`brew install fish` 或者 `apt install fish`
|
||||||
|
|
||||||
```shell
|
然后初始化 fish
|
||||||
https://github.com/robbyrussell/oh-my-zsh/wiki/Installing-ZSH
|
|
||||||
# macOS
|
```bash
|
||||||
brew install zsh zsh-completions
|
bash ~/.dotfile/script/fish-install.sh
|
||||||
# CentOS
|
|
||||||
sudo yum -y install zsh
|
|
||||||
# Ubuntu
|
|
||||||
apt install zsh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
安装 oh-my-zsh
|
|
||||||
|
|
||||||
```shell
|
|
||||||
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
|
||||||
```
|
|
||||||
|
|
||||||
初始化配置
|
|
||||||
|
|
||||||
```shell
|
|
||||||
ln -sf ~/.dotfile/.zshrc ~/
|
|
||||||
ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/
|
|
||||||
ln -sf ~/.dotfile/.tmux.conf ~/
|
|
||||||
ln -sf ~/.dotfile/.gitconfig ~/.gitconfig
|
|
||||||
```
|
|
||||||
|
|
||||||
### spacevim 安装
|
|
||||||
|
|
||||||
安装
|
|
||||||
`curl -sLf https://spacevim.org/install.sh | bash`
|
|
||||||
初始化配置
|
|
||||||
`ln -sf ~/.dotfile/.SpaceVim.d ~/`
|
|
||||||
|
|
||||||
#
|
|
||||||
|
|||||||
Reference in New Issue
Block a user