From 2eaaa6f6db67d1965ed7bc137d97d43cb365f37b Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Wed, 23 Apr 2025 16:42:51 +0800 Subject: [PATCH] update readme --- Readme.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 9a7b58d..e0831ec 100644 --- a/Readme.md +++ b/Readme.md @@ -4,12 +4,23 @@ Yuan dotfile 安裝 (個人用途) -------------------------------------------------------------------------------- ### Manjaro (Arch Linux) +#### 1. 放置自己的金鑰(若) +將 `id_rsa` sshkey金鑰檔放到 `~/.ssh/id_rsa` + +#### 2. 安裝主dotfiles包 ``` sudo pacman -S chezmoi -chezmoi init --apply ssh://git@git.yuaner.tw:10022/yuan/dotfiles.git +#chezmoi init --apply ssh://git@git.yuaner.tw:10022/yuan/dotfiles.git #私人用 +chezmoi init --apply https://git.yuaner.tw/yuan/dotfiles.git chezmoi update ``` +#### 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 apply +``` +
依照chezmoi官方教學 #### Quick start