mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
sublime: ignore wslpath errors if C drive is missing
This commit is contained in:
parent
bf0cf4eb1e
commit
e38099de96
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue