diff --git a/zsh/cursor.zsh b/zsh/cursor.zsh index 17a9987..f59bbc0 100644 --- a/zsh/cursor.zsh +++ b/zsh/cursor.zsh @@ -8,3 +8,7 @@ if command-exists cursor-agent; then setup-completions cursor-agent "$(command-path cursor-agent)" \ cursor-agent shell-integration zsh fi + +if command-exists cursor; then + export EDITOR="cursor -w" +fi