setup/install.sh
2023-11-23 11:03:59 +01:00

15 lines
501 B
Bash
Executable file

#! /bin/bash
#
cd $HOME
REPO_URL=git@github.com:ickyicky/dot.git
git clone --bare $REPO_URL $HOME/.dot/
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME config status.showUntrackedFiles no
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME restore --staged .
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME restore .
mkdir -p Projects/{Personal,Work}
SETUP_REPO_URL=git@github.com:ickyicky/setup.git
git clone $SETUP_REPO_URL Projects/Personal/setup
cd Projects/Personal/setup
./setup.sh