forked from extern/ohmyzsh
sublime: ignore wslpath errors if C drive is missing
This commit is contained in:
parent
bf0cf4eb1e
commit
e38099de96
@ -17,8 +17,8 @@ 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 3\subl.exe')"
|
"$(wslpath -u 'C:\Program Files\Sublime Text 3\subl.exe' 2>/dev/null)"
|
||||||
"$(wslpath -u 'C:\Program Files\Sublime Text 2\subl.exe')"
|
"$(wslpath -u 'C:\Program Files\Sublime Text 2\subl.exe' 2>/dev/null)"
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
_sublime_paths=(
|
_sublime_paths=(
|
||||||
|
Loading…
Reference in New Issue
Block a user