diff --git a/bin/git-grab b/bin/git-grab deleted file mode 100755 index 0fd02e8dc..000000000 --- a/bin/git-grab +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# -# https://github.com/rtomayko/dotfiles - -[ $# -eq 0 ] && { - echo "usage: git-grab username [repo]" - exit 1 -} - -username="$1" - -if [ -n "$2" ] ; then - repo="$2" -else - repo=$(basename $(pwd)) -fi - -command="git remote add $username git://github.com/$username/$repo.git" -echo $command -$command - -command="git fetch $username" -echo $command -$command diff --git a/git-extra-commands.plugin.zsh b/git-extra-commands.plugin.zsh index 75e78e46d..e2cf59085 100644 --- a/git-extra-commands.plugin.zsh +++ b/git-extra-commands.plugin.zsh @@ -15,6 +15,7 @@ # Add our plugin's bin diretory to user's path PLUGIN_D=$(dirname "$0") export PATH="${PATH}:${PLUGIN_D}/bin" +alias git-grab='git-incoming-commits' # Skipped: # incoming-commits (appears to be a dupe of grab)