mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-18 03:40:08 +00:00
feat(sublime): add support for Sublime Text 4 on Windows (#10063)
This commit is contained in:
parent
69a45a9c98
commit
29b5c182be
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ alias stn=create_project
|
||||||
if [[ "$OSTYPE" == linux* ]]; then
|
if [[ "$OSTYPE" == linux* ]]; then
|
||||||
if [[ "$(uname -r)" = *icrosoft* ]]; then
|
if [[ "$(uname -r)" = *icrosoft* ]]; then
|
||||||
_sublime_paths=(
|
_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 3\subl.exe' 2>/dev/null)"
|
||||||
"$(wslpath -u 'C:\Program Files\Sublime Text 2\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
|
elif [[ "$OSTYPE" = msys ]]; then
|
||||||
_sublime_paths=(
|
_sublime_paths=(
|
||||||
|
"/c/Program Files/Sublime Text/sublime_text.exe"
|
||||||
"/c/Program Files/Sublime Text 2/subl.exe"
|
"/c/Program Files/Sublime Text 2/subl.exe"
|
||||||
"/c/Program Files/Sublime Text 3/subl.exe"
|
"/c/Program Files/Sublime Text 3/subl.exe"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue