Includes modular setup, device profile support, and documentation. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
22 lines
592 B
Bash
Executable File
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."
|