summaryrefslogtreecommitdiff
path: root/plugins/github
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-12-02 11:50:36 -0800
committerRobby Russell <robby@planetargon.com>2012-12-02 11:50:36 -0800
commit56f094860bec91c1968d46cccd5d2c2e3d179de1 (patch)
tree88038f3e9a42d40906ce77252d4e664a1eb60fb8 /plugins/github
parentded745bf1471487c7dc537c781685615ff4c2515 (diff)
parent80ab595696f30d89bf52bb5189fa39518a3ca780 (diff)
downloadzsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.tar.gz
zsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.tar.bz2
zsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.zip
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/github')
-rw-r--r--plugins/github/github.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh
index 197e86a48..598b059c1 100644
--- a/plugins/github/github.plugin.zsh
+++ b/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