Skip to content

Commit

Permalink
Drop hub and just use GitHub CLI
Browse files Browse the repository at this point in the history
GitHub CLI is an official project whereas `hub` isn't (did it used to
be?), GitHub CLI seems more fully featured and a drop in replacement for
usage in `clone`, just using GitHub CLI replaces 2 dependencies with
just 1, and GitHub CLI worked out of the box on a new machine, whereas
`hub` was giving an obtuse error that I couldn't easily resolve (see
mislav/hub#2655).
  • Loading branch information
bobwhitelock committed May 3, 2022
1 parent a3172f5 commit 83f1794
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 165 deletions.
2 changes: 1 addition & 1 deletion bin/clone
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ main() {
cd "$owner_path"

if [ ! -d "$name" ]; then
hub clone "$repo"
gh repo clone "$repo"
fi

# shellcheck disable=SC1090
Expand Down
1 change: 0 additions & 1 deletion dependencies/pacman
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ gpaste
gthumb
gvim
httpie
hub
jq
keepassxc
moreutils
Expand Down
163 changes: 0 additions & 163 deletions zsh/completions/_hub

This file was deleted.

0 comments on commit 83f1794

Please sign in to comment.