From 1888436ecb865cdf5bfc8f756fa66e1faf53b1b7 Mon Sep 17 00:00:00 2001 From: Joshua Sherman Date: Thu, 9 Jan 2014 14:11:17 -0500 Subject: [PATCH] Dropped some plugins, dropped github init Switched to using `hub` instead of my script. Dropped a bunch of plugins because I didn't see the value that I was hoping I would. Slowly moving towards adopting the git aliases in zsh instead of my own, will clean up everything. Also contemplating creating some plugins around my other aliases and break them into separate projects just for the experience of building a zsh plugin --- git/gitconfig | 2 ++ git/scripts/git-github | 11 ----------- setup | 2 +- zsh/zshrc | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) delete mode 100755 git/scripts/git-github diff --git a/git/gitconfig b/git/gitconfig index 4869574..dc0aad0 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -15,3 +15,5 @@ branch = auto diff = auto status = auto +[github] + user = joshtronic diff --git a/git/scripts/git-github b/git/scripts/git-github deleted file mode 100755 index d9b46a5..0000000 --- a/git/scripts/git-github +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# create directory and checkout project from github -# usage: git github joshtronic/bash - -DIR=`echo $1 | awk -F '/' '{print $2}'` - -git init $DIR -cd $DIR -git remote add origin git@github.com:$1.git -git pull origin master -cd .. diff --git a/setup b/setup index 0cab34a..f6bc9ab 100644 --- a/setup +++ b/setup @@ -172,4 +172,4 @@ fi echo; echo 'WE’RE GOLDEN!' # TODO - link mercurial config -# TODO - install github gem +# TODO - install hub, brew install hub diff --git a/zsh/zshrc b/zsh/zshrc index f9a03dc..1cb1c1f 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -6,7 +6,7 @@ ZSH_THEME="joshtronic" COMPLETION_WAITING_DOTS="true" -plugins=(brew git git-extras github last-working-dir mercurial npm osx per-directory-history pip python redis-cli ruby vi-mode) +plugins=(brew git git-extras mercurial osx redis-cli) source $ZSH/oh-my-zsh.sh