feat(vscode): add support for Cursor (#13382)

This commit is contained in:
Yaroslav Sapak 2025-10-31 04:22:01 +02:00 committed by GitHub
commit 43e880ba45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# VS Code (stable / insiders) / VSCodium zsh plugin
# VS Code (stable / insiders) / VSCodium / Cursor zsh plugin
# Authors:
# https://github.com/MarsiBarsi (original author)
# https://github.com/babakks
@ -19,6 +19,8 @@ if [[ -z "$VSCODE" ]]; then
VSCODE=code-insiders
elif which codium &>/dev/null; then
VSCODE=codium
elif which cursor &>/dev/null; then
VSCODE=cursor
else
return
fi