From 76176bc9e6ef44e6099f45968e1e3f2cf72ec58e Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Tue, 22 Apr 2025 06:15:53 +0800 Subject: [PATCH] Update Readme --- Readme.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Readme.md b/Readme.md index 87f5f62..eee331f 100644 --- a/Readme.md +++ b/Readme.md @@ -1,5 +1,28 @@ Yuan dotfile === +安裝 +--- +With chezmoi, pronounced /ʃeɪ mwa/ (shay-mwa), you can install chezmoi and your dotfiles from your GitHub dotfiles repo on a new, empty machine with a single command: +``` +sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply ssh://git@git.yuaner.tw:10022/yuan/dotfiles.git +``` + +As well as the curl | sh installation, you can install chezmoi with your favorite package manager. + +Updating your dotfiles on any machine is a single command: +``` +chezmoi update +``` + +chezmoi runs on all popular operating systems, is distributed as a single statically-linked binary with no dependencies, and does not require root access. + +### Set up a new machine with a single command + +You can install your dotfiles on new machine with a single command: + +``` +chezmoi init --apply ssh://git@git.yuaner.tw:10022/yuan/dotfiles.git +``` zsh ---