Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use ls instead of find to avoid incompatibility with gnu find

  • Loading branch information...
commit 3cdfdad28a1b7efbcc1cd1282e7811d80f50a730 1 parent b1c97bc
@yachi yachi authored ncanceill committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/xcode/xcode.plugin.zsh
View
2  plugins/xcode/xcode.plugin.zsh
@@ -1,6 +1,6 @@
#xc function courtesy of http://gist.github.com/subdigital/5420709
function xc {
- xcode_proj=`find . -name "*.xc*" -d 1 | sort -r | head -1`
+ xcode_proj=`ls | grep "\.xc" | sort -r | head -1`
if [[ `echo -n $xcode_proj | wc -m` == 0 ]]
then
echo "No xcworkspace/xcodeproj file found in the current directory."
Please sign in to comment.
Something went wrong with that request. Please try again.