| # !! Contents within this block are managed by 'forge zsh setup' !! | |
| # !! Do not edit manually - changes will be overwritten !! | |
| # Add required zsh plugins if not already present | |
| if [[ ! " ${plugins[@]} " =~ " zsh-autosuggestions " ]]; then | |
| plugins+=(zsh-autosuggestions) | |
| fi | |
| if [[ ! " ${plugins[@]} " =~ " zsh-syntax-highlighting " ]]; then | |
| plugins+=(zsh-syntax-highlighting) | |
| fi | |
| # Load forge shell plugin (commands, completions, keybindings) if not already loaded | |
| if [[ -z "$_FORGE_PLUGIN_LOADED" ]]; then | |
| eval "$(forge zsh plugin)" | |
| fi | |
| # Load forge shell theme (prompt with AI context) if not already loaded | |
| if [[ -z "$_FORGE_THEME_LOADED" ]]; then | |
| eval "$(forge zsh theme)" | |
| fi | |