fix: added missing dotfiles and removed unnecessary files/packages

This commit is contained in:
2026-07-30 22:53:44 +02:00
parent 73fe6b87a9
commit 9d260af0c6
59 changed files with 3565 additions and 185 deletions
+8 -11
View File
@@ -15,21 +15,18 @@ need_cmd git
need_cmd curl
need_cmd age
need_cmd jq
need_cmd pacman || need_cmd apt-get
need_cmd chezmoi
if (( ${#missing[@]} > 0 )); then
cat <<EOF
>>> Missing prerequisites: ${missing[*]}
RED=$'\e[31m'
RESET=$'\e[0m'
Install them for your distro, then re-run \`chezmoi apply\`:
Arch: sudo pacman -S --needed git curl sudo age jq
Ubuntu: sudo apt-get install -y git curl sudo age jq
\`age\` is also available at https://github.com/FiloSottile/age as a static
binary if your distro does not package it.
EOF
printf ">>> Missing prerequisites:\n"
for cmd in "${missing[@]}"; do
printf "\t%s%s%s\n" "$RED" "$cmd" "$RESET"
done
printf "\n"
echo "Install them, then re-run \`chezmoi apply\`"
exit 1
fi