feat(zsh): set cursor as default editor if available

This commit is contained in:
2025-12-09 21:58:21 +00:00
parent 17b96034b6
commit c2ab0a9362

View File

@@ -8,3 +8,7 @@ if command-exists cursor-agent; then
setup-completions cursor-agent "$(command-path cursor-agent)" \ setup-completions cursor-agent "$(command-path cursor-agent)" \
cursor-agent shell-integration zsh cursor-agent shell-integration zsh
fi fi
if command-exists cursor; then
export EDITOR="cursor -w"
fi