Commit Graph

22 Commits

Author SHA1 Message Date
google-labs-jules[bot]
972743df41 fix(vanity_setup): Improve script robustness and fix runtime errors
This commit addresses three separate issues identified during the execution of the vanity setup script:

1.  **Handle existing fonts gracefully**: The `brew_ensure_cask` function is modified to catch the specific error that occurs when a font cask is installed but the font file already exists. Instead of failing, the script now reports the font as already present and continues.

2.  **Fix Docker plugin load order**: The `install_zsh_config` function now prepends the `brew shellenv` command to the downloaded `.zshrc` file. This ensures the Homebrew PATH is set *before* Oh My Zsh loads its plugins, resolving the `command not found: docker` error on shell startup.

3.  **Automatically update yt-dlp**: The `brew_ensure_formula` function is updated to automatically run `brew upgrade yt-dlp` if the formula is already installed. This keeps the tool up-to-date and prevents download failures (like HTTP 403 errors) caused by an outdated version.
2025-11-26 18:39:09 +00:00
Marco Gallegos
56bba92e29 feat: Enhance plugin cloning and downloading with multiple GitHub URL prefixes and archive templates 2025-11-26 12:05:04 -06:00
Marco Gallegos
175d7c7b5c feat: Implement retry logic for plugin installation and add download fallback for Git repositories 2025-11-26 11:56:27 -06:00
Marco Gallegos
67f4cad5f3 refactor: rename yt-dlp download directories and update associated scripts and help messages. 2025-11-21 08:31:53 -06:00
Marco Gallegos
e18adc35bc feat: Add an update option to the script and ensure Homebrew packages are installed only if missing. 2025-11-21 08:21:48 -06:00
Marco Gallegos
1502e4c2dc feat: parameterize Terminal font size configuration and update heredoc marker 2025-11-21 07:59:26 -06:00
Marco Gallegos
59b59e0c87 feat: Add ZeroTier CLI and Speedtest CLI installation, ensure Xcode Command Line Tools, and improve user prompts. 2025-11-21 07:42:11 -06:00
Marco Gallegos
acf0ea4649 refactor: update read_menu_choice to use read -p and REPLY for interactive input. 2025-11-21 07:35:44 -06:00
Marco Gallegos
a5e3cee159 feat: Add read_menu_choice function for interactive input and modify main_menu to use it, defaulting to option 'A' for non-interactive sessions. 2025-11-21 07:31:27 -06:00
Marco Gallegos
ed4699c0c2 feat: Add user prompt and Mac restart instruction to setup script and update README with local execution details. 2025-11-20 23:15:27 -06:00
Marco Gallegos
81e3f6de1e feat: Add automatic terminal font configuration and switch Docker setup from Colima to Docker Desktop. 2025-11-20 23:11:37 -06:00
Marco Gallegos
f7b7a98558 feat: Migrate Docker setup from Desktop to Colima and refactor .zshrc for improved path handling and Zsh completion. 2025-11-20 23:01:28 -06:00
Marco Gallegos
98c8ac3dbb refactor: Remove automatic Docker Desktop startup and switch to Docker CLI installation. 2025-11-20 22:54:56 -06:00
Marco Gallegos
bb486f5ed6 fix: add --force flag to Meslo LG Nerd Font installation 2025-11-20 22:44:56 -06:00
Marco Gallegos
406313e975 feat: Implement script logging and ignore generated log files. 2025-11-20 22:36:44 -06:00
Marco Gallegos
a8e83206fd refactor: Improve setup script robustness, modularity, and Docker handling, and remove example zshrc. 2025-11-20 22:34:09 -06:00
Marco Gallegos
4ae26b8fa7 Update vanity_setup.sh 2025-11-19 19:30:01 -06:00
Marco Gallegos
532dfe4762 Update vanity_setup.sh 2025-11-19 19:22:22 -06:00
Marco Gallegos
7056d72d86 Update vanity_setup.sh 2025-11-19 19:15:53 -06:00
Marco Gallegos
052024d06c Update vanity_setup.sh 2025-11-19 19:10:09 -06:00
Marco Gallegos
f2a7995374 Update vanity_setup.sh 2025-11-19 19:07:15 -06:00
Marco Gallegos
ab20aef9e7 Create vanity_setup.sh 2025-11-19 19:03:02 -06:00