Last active
February 5, 2019 14:57
-
-
Save kodeFant/98e6d05e42b8a4acedd6ea7aaae26794 to your computer and use it in GitHub Desktop.
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
system_type=$(uname -s) | |
if [ "$system_type" = "Darwin" ]; then | |
# install homebrew if it's missing | |
if ! command -v brew >/dev/null 2>&1; then | |
echo "Installing homebrew" | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
fi | |
if [ "$system_type" = "Linux" ]; then | |
# install homebrew if it's missing | |
if ! command -v brew >/dev/null 2>&1; then | |
echo "Installing linuxbrew" | |
sudo apt install linuxbrew-wrapper | |
fi | |
fi | |
brew install yadm | |
yadm clone https://github.com/kodeFant/dotfiles.git | |
yadm status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment