mhartington / oceanic-next

Oceanic Next theme for neovim
Other
1.14k stars 141 forks source link

Homebrew requires auth details to tap this repo #78

Closed ghost closed 5 years ago

ghost commented 5 years ago

The docs say the following on how to install the package:

<PACKAGE_MANAGER> 'mhartington/oceanic-next'

OK, that'd be brew for me, I guess.

$ brew tap mhartington/oceanic-next
==> Tapping mhartington/oceanic-next
Cloning into '/usr/local/Homebrew/Library/Taps/mhartington/homebrew-oceanic-next'...
Username for 'https://github.com':

I checked the docs and I'll post the relevant part of man brew here.

tap [--full] [--force-auto-update] user/repo [URL]
       Tap a formula repository.

       With  URL  unspecified,  taps  a  formula  repository  from GitHub using HTTPS. Since so many taps are hosted on
       GitHub, this command is a shortcut for brew tap user/repo https://github.com/user/homebrew-repo.

(Notice the mapping from repo -> homebrew-repo.)

Thus, Homebrew thinks this repo should be called homebrew-oceanic-next. It obviously isn't called that, so it thinks there might be a private repo called homebrew-oceanic-next and thereby prompts me to auth and take a look.

The solution is to do:

$ brew tap mhartington/oceanic-next https://github.com/mhartington/oceanic-next.git

Just wanted to let you know the steps I went through, given the sparse installation instructions.

ghost commented 5 years ago

It's obviously about the (n)vim package managers, not system package managers like brew. Doh!