Skip to content

Commit

Permalink
Add cloning of all Github repositories
Browse files Browse the repository at this point in the history
Signed-off-by: Lou Marvin Caraig <loumarvincaraig@gmail.com>
  • Loading branch information
se7entyse7en committed Aug 24, 2021
1 parent f1c93a3 commit 58fc020
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions github.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
echo "Authenticating with Github token..."
gh auth login --with-token < ~/.tokens/github/dotfiles.txt

echo "Cloning repositories for se7entyse7en..."
mkdir -p ~/Projects/se7entyse7en && cd ~/Projects/se7entyse7en
gh repo list se7entyse7en --source -L 1000 --json sshUrl --jq '.[] | .sshUrl' | xargs -L1 git clone
echo "All repositories for se7entyse7en cloned."
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ download_dotfiles
./git.sh
./emacs.sh
./prompt.sh
./github.sh

echo "Opening Hyper and closing Terminal..."
hyper && ps aux | grep Terminal | grep -v grep | tr -s ' ' | cut -f2 -d ' ' | xargs kill -9

0 comments on commit 58fc020

Please sign in to comment.