mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(vscode): add support for Cursor (#13382)
This commit is contained in:
parent
1dc87da9e6
commit
43e880ba45
2 changed files with 10 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue