浏览代码

Fix repo for github.

Michael Nikitochkin 12 年之前
父节点
当前提交
f29daef297
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/github/github.plugin.zsh

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

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