From 35675edd225e627bc053e2fd655c1f96814bbf5c Mon Sep 17 00:00:00 2001 From: Xevion Date: Fri, 6 Jun 2025 18:33:35 -0500 Subject: [PATCH] Limit omz plugins loaded for Cursor, TODO mise switch from asdf --- home/dot_zshrc.tmpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/home/dot_zshrc.tmpl b/home/dot_zshrc.tmpl index f3c6849..f0a6746 100644 --- a/home/dot_zshrc.tmpl +++ b/home/dot_zshrc.tmpl @@ -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