Update .config/packages/arch-packages.fish

This commit is contained in:
punkfairie 2024-04-20 10:27:48 -07:00
parent 6efc9a0148
commit 2dddd4094c
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -5,8 +5,10 @@
# {{ include (joinPath "dot_config/packages/" (base .)) | sha256sum }}
{{ end -}}
cd "$HOME/.config/packages/"
set file (\
find . -type f -iname "arch*" -print0\
find . -type f -iname "arch?*" -print0\
| xargs -0 ls -tr\
| tail -n 1\
| string sub -s 3\
@ -25,4 +27,6 @@ if ! test "{{ .chezmoi.hostname }}" = "$file"
end
yay -Qeq >{{ joinPath .chezmoi.sourceDir "dot_config/packages" .chezmoi.hostname }}
cd "$HOME"
{{ end -}}