mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
Add multiple variables in chezmoi.toml, apply a more detailed ignore rule Use of chezmoi scripts Use Neogit for default git GUI (TUI) Integrate chezmoi with age
17 lines
366 B
Bash
17 lines
366 B
Bash
#!/bin/sh
|
|
|
|
src=~/.dotfiles/misc/firefox/search.json.mozlz4
|
|
dest=~/.mozilla/firefox/*.default/search.json.mozlz4
|
|
if ! cmp -s "$src" "$dest" 2>/dev/null; then
|
|
cp "$src" "$dest"
|
|
fi
|
|
|
|
{{ if .wheel }}
|
|
|
|
src=~/.dotfiles/misc/firefox/policies.json
|
|
dest=/etc/firefox/policies/policies.json
|
|
if ! cmp -s "$src" "$dest" 2>/dev/null; then
|
|
sudo cp "$src" "$dest"
|
|
fi
|
|
|
|
{{ end }}
|