mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-20 11:06:41 +00:00
refactor(mise): simplify tool management config
Simplify mise activate call in exports (remove dynamic shell detection). Update mise/config.toml for current tool configuration. Add brew autoremove step to cleanup script after removing old version managers.
This commit is contained in:
@@ -133,6 +133,15 @@ if command -v brew &> /dev/null; then
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Clean up orphaned dependencies left after the removals above
|
||||
if [[ "$DRY_RUN" = "--dry-run" ]]; then
|
||||
msgr warn "[DRY RUN] Would run: brew autoremove"
|
||||
else
|
||||
msgr run "Removing orphaned brew dependencies..."
|
||||
brew autoremove
|
||||
msgr run_done "Orphaned dependencies removed"
|
||||
fi
|
||||
fi
|
||||
|
||||
msgr yay "Cleanup complete! Run 'mise install' to set up tools via mise."
|
||||
|
||||
Reference in New Issue
Block a user