Update Readme: Fix Installer
This commit is contained in:
parent
3d16687c8c
commit
cb625043e2
16
Readme.md
16
Readme.md
@ -3,18 +3,18 @@ Yuan dotfile
|
||||
|
||||
安裝 (個人用途)
|
||||
--------------------------------------------------------------------------------
|
||||
### Manjaro (Arch Linux)
|
||||
#### 1. 放置自己的金鑰(若)
|
||||
### Linux / macOS
|
||||
#### 1. 放置自己的金鑰(若是其他人要用,請直接跳過)
|
||||
將 `id_rsa` sshkey金鑰檔放到 `~/.ssh/id_rsa`
|
||||
|
||||
#### 2. 安裝主dotfiles包
|
||||
```
|
||||
sudo pacman -S chezmoi
|
||||
#sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply ssh://git@git.yuaner.tw:10022/yuan/dotfiles.git私人用
|
||||
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply ssh://git@git.yuaner.tw:10022/yuan/dotfiles.git
|
||||
vim +PlugInstall +qall
|
||||
```
|
||||
|
||||
#### 3. 安裝私人用的dotfiles包
|
||||
#### 3. 安裝私人用的dotfiles包(若是其他人要用,請直接跳過)
|
||||
```
|
||||
chezmoi init --source ~/.local/share/chezmoi-private --config ~/.config/chezmoi-private/chezmoi.toml ssh://git@git.yuaner.tw:10022/yuan/dotfiles-private.git --apply
|
||||
chezmoi apply
|
||||
@ -26,6 +26,14 @@ rm -rf ~/.local/share/chezmoi
|
||||
rm -rf ~/.local/share/chezmoi-private
|
||||
```
|
||||
|
||||
可能會需要刪掉相關設定
|
||||
```
|
||||
rm ~/.ssh/known_hosts
|
||||
rm -rf ~/.vimrc ~/.vim ~/.gvimrc
|
||||
rm ~/.zshrc
|
||||
rm -rf ~/.config/alacritty ~/.config/zellij
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>依照chezmoi官方教學</summary>
|
||||
#### Quick start
|
||||
|
Loading…
x
Reference in New Issue
Block a user