mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-05 23:14:46 -06:00
Limit omz plugins loaded for Cursor, TODO mise switch from asdf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user