Browse Source

Fix repo for github.

Michael Nikitochkin 11 years ago
parent
commit
f29daef297
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/github/github.plugin.zsh

+ 1 - 0
plugins/github/github.plugin.zsh

@@ -61,6 +61,7 @@ exist_gh() { # [DIRECTORY]
     cd "$1"
     name=$( git config user.name )
     ghuser=$( git config github.user )
+    repo=$1
 
     git remote add origin git@github.com:${ghuser}/${repo}.git
     git push -u origin master