Limit omz plugins loaded for Cursor, TODO mise switch from asdf

This commit is contained in:
2025-06-06 18:33:35 -05:00
parent 9757acdcd3
commit 35675edd22

View File

@@ -26,11 +26,20 @@ DISABLE_AUTO_UPDATE="true" # required for chezmoi external management
# Set Oh My Zsh theme conditionally
if [[ "$TERM_PROGRAM" == "vscode" ]]; then
ZSH_THEME="" # Disable Powerlevel10k for Cursor
# Plugins limited as they're mostly just aliases, not useful to the Cursor agent
plugins=(asdf)
else
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git asdf yarn golang sudo zoxide bun node npm brew zsh-autosuggestions F-Sy-H thefuck)
# TODO: Switch from 'asdf' to 'mise'
plugins=(
git gh fzf eza docker-compose docker deno chezmoi asdf yarn golang sudo zoxide bun npm brew zsh-autosuggestions F-Sy-H thefuck
{{- if .wsl -}}
{{ " kitty" }}
{{- end}}
)
fi
source $ZSH/oh-my-zsh.sh