.dotfiles/macos/bin/pkg-update
Saibotk 55706b6c30
feat(mac): explicitly add & link libpq
This is needed for using psql without installing postgres.
2025-01-02 09:08:08 +01:00

29 lines
597 B
Bash
Executable file

#!/bin/sh
echo "\n > Upgrading brew packages...\n"
brew update
brew upgrade
# Fixes gnupg link conflicts with GPGSuite
brew unlink gnupg
# Link libpq to access psql
brew link --force libpq
# Fix corepack / node update issues
corepack disable
corepack enable
echo "\n > Upgrading global composer packages...\n"
composer global upgrade
echo "\n > Running valet install...\n"
valet install
echo "\n > Upgrading nvim packages...\n"
nvim +PlugUpgrade +PlugUpdate +TSUpdate +MasonUpdate +qall
echo "\n > Upgrading znap plugins...\n"
znap-update
echo "\n"
echo "\n > Done 🚀 enjoy your day!\n"