From 3d16687c8cf9faca1df8bd20bb5c3e148f523730 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Wed, 23 Apr 2025 18:41:53 +0800 Subject: [PATCH] Update Readme: Fix installer --- Readme.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 1d820e8..5acc234 100644 --- a/Readme.md +++ b/Readme.md @@ -10,17 +10,22 @@ Yuan dotfile #### 2. 安裝主dotfiles包 ``` sudo pacman -S chezmoi -#chezmoi init --apply ssh://git@git.yuaner.tw:10022/yuan/dotfiles.git #私人用 -chezmoi init --apply https://git.yuaner.tw/yuan/dotfiles.git -chezmoi update +#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 ``` #### 3. 安裝私人用的dotfiles包 ``` -chezmoi init --source ~/.local/share/chezmoi-private --config ~/.config/chezmoi-private/chezmoi.toml --apply ssh://git@git.yuaner.tw:10022/yuan/dotfiles-private.git +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 ``` +#### 若需要刪掉重來 +``` +rm -rf ~/.local/share/chezmoi +rm -rf ~/.local/share/chezmoi-private +``` +
依照chezmoi官方教學 #### Quick start