Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
6ca57e03
Commit
6ca57e03
authored
Jul 20, 2018
by
Thi
Committed by
Marc Cornellà
Jul 19, 2018
Browse files
[plugins/xcode] Fix opening project using a wrong Xcode version (#6829)
parent
626b30b2
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/xcode/xcode.plugin.zsh
View file @
6ca57e03
...
...
@@ -22,8 +22,11 @@ function xc {
fi
return
1
else
echo
"Found
${
xcode_proj
[1]
}
"
open
"
${
xcode_proj
[1]
}
"
local
active_path
active_path
=
$(
xcode-select
-p
)
active_path
=
${
active_path
%%/Contents/Developer*
}
echo
"Found
${
xcode_proj
[1]
}
. Opening with
${
active_path
}
"
open
-a
"
$active_path
"
"
${
xcode_proj
[1]
}
"
fi
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment