diff --git a/README.markdown b/README.markdown index ae0b945..7257191 100644 --- a/README.markdown +++ b/README.markdown @@ -26,31 +26,17 @@ then simply copy and paste: vim -u NONE -c "helptags vim-rhubarb/doc" -c q In addition to [fugitive.vim][], [Curl](http://curl.haxx.se/) is -required (included with OS X). There are 5 ways you can tell -rhubarb.vim your GitHub credentials: +required (included with OS X). -1. In a netrc: +Provide your GitHub credentials by adding them to your netrc: - echo 'machine api.github.com login password '>>~/.netrc + echo 'machine api.github.com login password ' >> ~/.netrc -2. In Git: +There is not currently built-in support for OAuth, but you can add a token to +your netrc if you fetch it by hand: - git config --global github.user - git config --global github.password - -3. In your shell: - - export GITHUB_USER= - export GITHUB_PASSWORD= - -4. In Vim: - - let g:github_user = '' - let g:github_password = '' - -5. With an API token: - - let g:RHUBARB_TOKEN = '' + echo 'machine api.github.com login password x-oauth-basic' \ + >> ~/.netrc ## FAQ