dotfiles/modules/99-postinstall.sh
Martin Büchler 7d13e6ff1c chore: initial commit of all dotfiles, configs, and setup scripts
Includes modular setup, device profile support, and documentation.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-08-07 23:05:28 +02:00

22 lines
592 B
Bash
Executable File

#!/usr/bin/env bash
# Post-install steps for dotfiles setup
# Update pkgfile database for command-not-found suggestions
if command -v pkgfile &>/dev/null; then
echo "Updating pkgfile database..."
sudo pkgfile --update
fi
# Rehash zsh command hash table so new executables are found
if command -v zsh &>/dev/null; then
echo "Running zsh rehash..."
zsh -c 'rehash'
fi
# Add other post-install steps here as needed
# Example: update icon cache, font cache, etc.
# sudo fc-cache -fv
# sudo gtk-update-icon-cache -f /usr/share/icons/hicolor
echo "Post-install steps complete."