31ad21398efc79505bf08f18884e739ecd73bfce

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #1452 from miry/github

Fix repo for github.

Diff

 1diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh
 2index 197e86a48743419f79cceb8f4d4ebdafca0a5972..598b059c18753f0f76002a2e93046f037c1c9e56 100644
 3--- a/plugins/github/github.plugin.zsh
 4+++ b/plugins/github/github.plugin.zsh
 5@@ -61,6 +61,7 @@ exist_gh() { # [DIRECTORY]
 6     cd "$1"
 7     name=$( git config user.name )
 8     ghuser=$( git config github.user )
 9+    repo=$1
10 
11     git remote add origin git@github.com:${ghuser}/${repo}.git
12     git push -u origin master