From 0db6d1e831238f1693b6dbf1d384ba7858f38470 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 2 Apr 2014 18:46:39 -0400 Subject: [PATCH] Document all 5 ways to auth --- README.markdown | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.markdown b/README.markdown index 4e0b637..ce7a84f 100644 --- a/README.markdown +++ b/README.markdown @@ -20,27 +20,31 @@ Installation ------------ In addition to [fugitive.vim][], [Curl](http://curl.haxx.se/) is -required (included with OS X). There are 3 ways you can tell +required (included with OS X). There are 5 ways you can tell rhubarb.vim your GitHub credentials: -1. In Git: +1. In a netrc: + + echo 'machine api.github.com login password '>>~/.netrc + +2. In Git: git config --global github.user git config --global github.password -2. In your shell: +3. In your shell: export GITHUB_USER= export GITHUB_PASSWORD= -3. In Vim: +4. In Vim: let g:github_user = '' let g:github_password = '' -4. In a netrc: +5. With an API token: - echo 'machine api.github.com login password '>>~/.netrc + let g:RHUBARB_TOKEN = '' If you don't have a preferred installation method, I recommend installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and