mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
feat(sublime): add support for Sublime Text 4 on Windows (#10063)
This commit is contained in:
parent
69a45a9c98
commit
29b5c182be
@ -17,6 +17,7 @@ alias stn=create_project
|
||||
if [[ "$OSTYPE" == linux* ]]; then
|
||||
if [[ "$(uname -r)" = *icrosoft* ]]; then
|
||||
_sublime_paths=(
|
||||
"$(wslpath -u 'C:\Program Files\Sublime Text\sublime_text.exe' 2>/dev/null)"
|
||||
"$(wslpath -u 'C:\Program Files\Sublime Text 3\subl.exe' 2>/dev/null)"
|
||||
"$(wslpath -u 'C:\Program Files\Sublime Text 2\subl.exe' 2>/dev/null)"
|
||||
)
|
||||
@ -52,6 +53,7 @@ alias stn=create_project
|
||||
)
|
||||
elif [[ "$OSTYPE" = msys ]]; then
|
||||
_sublime_paths=(
|
||||
"/c/Program Files/Sublime Text/sublime_text.exe"
|
||||
"/c/Program Files/Sublime Text 2/subl.exe"
|
||||
"/c/Program Files/Sublime Text 3/subl.exe"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user