diff --git a/plugins/sublime/sublime.plugin.zsh b/plugins/sublime/sublime.plugin.zsh index 618dd8ee8..dadf37574 100644 --- a/plugins/sublime/sublime.plugin.zsh +++ b/plugins/sublime/sublime.plugin.zsh @@ -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" )