Last active
August 17, 2022 07:40
-
-
Save iarigby/a120032eb2c88d193fa3ce6232f6ff0f to your computer and use it in GitHub Desktop.
initialise fresh install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "make sure that you have these packages installed: git tmux zsh" | |
if ! command -v git | |
then | |
echo "git is not installed. Install it in another tab and press any key to continue" | |
read confirm | |
fi | |
if ! command -v yadm | |
then | |
if groups | grep -E '(sudo|wheel|root)' &> /dev/null; then | |
sudo curl -fLo /usr/local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm && sudo chmod a+x /usr/local/bin/yadm | |
else | |
echo "you do not have yadm installed. Install it in another tab and press any key to continue" | |
read confirm | |
fi | |
fi | |
yadm clone https://github.com/iarigby/dotfiles.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment