This commit addresses two critical errors discovered during script execution:
1. **Fix Docker PATH loading issue**: The previous method of initializing the Homebrew environment was not consistently effective. This has been replaced with a more robust method that explicitly prepends the Homebrew bin and sbin directories to the `PATH` at the very beginning of the `.zshrc` file. This ensures that all Homebrew-installed commands, such as `docker`, are available before Oh My Zsh and its plugins are loaded.
2. **Fix `unbound variable` error in font script**: The `configure_terminal_font` function was rewritten to invoke `osascript` using a series of `-e` arguments instead of a heredoc. This change prevents the shell from misinterpreting the AppleScript code, resolving the `font_name?: unbound variable` error.
Introduces a new 'P' option in the main menu to update all installed Homebrew packages.
This is achieved by a new 'update_packages' function that runs 'brew upgrade'. This provides a convenient way for users to keep their development environment up-to-date directly from the script.