setup/install.sh

16 lines
474 B
Bash
Raw Normal View History

2023-07-22 15:18:13 +02:00
#! /bin/bash
#
cd $HOME
REPO_URL=git@github.com:ickyicky/dot.git
git clone --bare $REPO_URL $HOME/.dot/
2023-11-23 11:03:59 +01:00
/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 .
2023-07-22 15:18:13 +02:00
2024-02-20 15:50:45 +01:00
mkdir -p {Personal,Work}
2023-07-22 15:18:13 +02:00
SETUP_REPO_URL=git@github.com:ickyicky/setup.git
2024-02-20 15:50:45 +01:00
git clone $SETUP_REPO_URL Personal/setup
cd Personal/setup
2023-07-22 15:18:13 +02:00
./setup.sh