diff options
| author | 2026-04-21 01:25:02 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:25:02 +0100 | |
| commit | fd222e182f43a72e60b7a1e6cd3d57e2c609562f (patch) | |
| tree | d605ec8664fe9adc9ab9582c86065aea38a4bba6 /.github/copilot-instructions.md | |
| parent | 201932ce77d8e7ca6fc66e3feb41cebdf68eb573 (diff) | |
| download | dotfiles-fd222e182f43a72e60b7a1e6cd3d57e2c609562f.tar.gz dotfiles-fd222e182f43a72e60b7a1e6cd3d57e2c609562f.tar.bz2 dotfiles-fd222e182f43a72e60b7a1e6cd3d57e2c609562f.zip | |
refactor(firefox): auto-enumerate files like etc/ deploy script
Drop the per-file include hashes and explicit cp calls; walk firefox/
with find(1) and mirror the tree into the LibreWolf profile. Drop-in
new files (e.g. user.js, chrome/userContent.css) now deploy without
touching the script. Same pattern already in use for etc/.
Diffstat (limited to '.github/copilot-instructions.md')
| -rw-r--r-- | .github/copilot-instructions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 0f384aa..02ce8d4 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -53,7 +53,7 @@ Additionally, `dot_config/sh/inputrc` provides readline config for non-zsh tools When modifying configs, use chezmoi naming conventions: `dot_` prefix for dotfiles, `private_` for restricted-permission dirs/files, `executable_` for scripts. To add a new config file, use `chezmoi add <target-path>`. -The `run_onchange_after_*` scripts are chezmoi templates (`.tmpl`) that embed `sha256sum` hashes of the files they deploy. Chezmoi only re-runs them when file content changes. The `etc` deploy script auto-enumerates every file under `etc/` (single combined hash via chezmoi's `output` function + `find`); just drop new files into `etc/` and they'll be deployed on next `chezmoi apply`. The `firefox` deploy script still lists its files explicitly. +The `run_onchange_after_*` scripts are chezmoi templates (`.tmpl`) that embed `sha256sum` hashes of the files they deploy. Chezmoi only re-runs them when file content changes. Both the `etc` and `firefox` deploy scripts auto-enumerate every file under their respective directories (single combined hash via chezmoi's `output` function + `find`); just drop new files into `etc/` or `firefox/` and they'll be deployed on next `chezmoi apply`. When editing shell config, all zsh configuration goes in `dot_config/zsh/` — do not create files in `dot_config/sh/` (only `inputrc` remains there). |
