40b1cf01035a3d74395b5d9def4f79af17fca4c8

Author
Alexandre Joly <alexandre.joly@futurecom.ch>
Committer
Alexandre Joly <alexandre.joly@futurecom.ch>
Date

Message

repo list search one level deeper

the folder structure changed '.cocoapods/' -> '.cocoapods/repos'

Diff

 1diff --git a/plugins/pod/_pod b/plugins/pod/_pod
 2index 745e9b15d4c918e130a6530aeb254373f47ff33f..ba0c9ab30b9bbf92bba1d61481c2afec9387aa8c 100644
 3--- a/plugins/pod/_pod
 4+++ b/plugins/pod/_pod
 5@@ -159,7 +159,7 @@ __first_command_list ()
 6 }
 7 
 8 __repo_list() {
 9-    _wanted application expl 'repo' compadd $(command ls -1 ~/.cocoapods 2>/dev/null | sed -e 's/ /\\ /g')
10+    _wanted application expl 'repo' compadd $(command ls -1 ~/.cocoapods/repos 2>/dev/null | sed -e 's/ /\\ /g')
11 }
12 
13 __pod-repo() {