{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/76c55292df5e9df9042eaf89ac35954b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"76c55292df5e9df9042eaf89ac35954b","url":"https://api.github.com/users/klauern","login":"klauern","id":4735},"labels":[],"updated_at":"2011-11-17T05:05:05Z","assignee":null,"comments":0,"closed_at":null,"url":"https://api.github.com/repos/technomancy/leiningen/issues/332","body":"I'm still trying to wrap my head around the `~/.lein/init.clj` file, but I have this in there and it doesn't appear to follow the `:omit-default-repositories` setting, but it *does* add the additional repository when running `lein search <something>`:\r\n\r\n```clj\r\n(def settings {\r\n               :repositories { \"nexus\" \"http://mavenrepo:8081/nexus/content/groups/public/\"}\r\n               :omit-default-repositories true\r\n               })\r\n```\r\n\r\nBut when I run `lein search \"quartz\"` for instance, I get this:\r\n\r\n```cmd\r\nPS C:\\mydocs\\Clojure> lein search \"quartz\"\r\nWarning: couldn't download index for http://repo1.maven.org/maven2\r\nWarning: couldn't download index for http://clojars.org/repo/\r\nPS C:\\mydocs\\Clojure>\r\n```\r\n\r\nNow, I know that the two Warnings happen because it doesn't go through the proxy, which I think is addressed somewhere else, but I wouldn't expect it to warn me about anything, unless this option isn't supposed to/expected to be used in the `init.clj`?\r\n\r\nIs there somewhere that I can look that might show me a better idea what I could/should put in the `init.clj`?  Maybe this setting isn't applicable or something.  I'm kind of treating it like a global `~/.m2/settings.xml` file, so I could be assuming too much.","html_url":"https://github.com/technomancy/leiningen/issues/332","number":332,"title":"init.clj settings: :omit-default-repositories doesn't work for `lein search`","id":2265409,"created_at":"2011-11-17T05:05:04Z"},"action":"opened"}