diff --git a/demo/06-chezmoi/demo.sh b/demo/06-chezmoi/demo.sh new file mode 100755 index 0000000..8840dc5 --- /dev/null +++ b/demo/06-chezmoi/demo.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env fish +mise env -s fish | source + +set -l g (set_color a6d189) +set -l b (set_color 8caaee) +set -l s '#8caaee' +set -l n (set_color normal) + +gum style --foreground "$s" --border double --padding "1 2" --margin "1" "Chezmoi β€” GΓ©rer ses dotfiles" +gum spin --spinner.foreground "$s" --spinner dot --title " " sleep 3 + +echo "$g❯$b chezmoi list$n" +chezmoi list +gum spin --spinner.foreground "$s" --spinner dot --title " " sleep 3 + +echo +echo "$g❯$b ls -la ~/.local/share/chezmoi/$n" +ls -la ~/.local/share/chezmoi/ diff --git a/pimp-my-shell.md b/pimp-my-shell.md index 57c7c61..e7e9068 100644 --- a/pimp-my-shell.md +++ b/pimp-my-shell.md @@ -103,6 +103,12 @@ gum style --padding "1 4" --border none "πŸ“„ πŸ“‚ πŸš€ πŸ”" cargo run -q --manifest-path big-text/Cargo.toml -- -q "Chezmoi" 2>/dev/null ``` +# 🐚 Mon shell synchronise sa configuration + +* **chezmoi** : gestion des **dotfiles** (_aka_ `$HOME/.truc`) +* synchronisation git +* chiffrement avec **age** ou **gpg** pour les secrets + ```bash +exec_replace