mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 07:06:40 +00:00
feat(zsh): set cursor as default editor if available
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user