Skip to content

Commit

Permalink
Remove hub for now
Browse files Browse the repository at this point in the history
Until the bash completion issue is fixed mislav/hub#2684
  • Loading branch information
myobie committed Mar 24, 2022
1 parent 97a9698 commit 19c045e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
23 changes: 0 additions & 23 deletions setup_hub.sh

This file was deleted.

6 changes: 1 addition & 5 deletions shared/bash/git.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
if [[ -n "$(which hub)" ]]; then
eval "$(hub alias -s)"
fi

search-history() {
git log --pretty=format:'%h was %an, %ar, message: %s' | grep $@ | less
}
Expand All @@ -10,7 +6,7 @@ clone() {
org=$(echo $1 | awk -F/ '{ print $1 }')
mkdir -p ~/src/github.com/$org
path=~/src/github.com/$1
hub clone $@ $path
git clone https://github.com/$@.git $path
cd $path
}

Expand Down

0 comments on commit 19c045e

Please sign in to comment.