Skip to content

Instantly share code, notes, and snippets.

@antontsv
Last active October 2, 2017 05:42
Show Gist options
  • Save antontsv/2c8b4a00ec778e20227e49e8f38aaf93 to your computer and use it in GitHub Desktop.
Save antontsv/2c8b4a00ec778e20227e49e8f38aaf93 to your computer and use it in GitHub Desktop.
Dotfiles setup including private repo
#!/usr/bin/env bash
install_gist_url="https://git.io/all.files"
download_and_exec(){
if [ -n "$URL_SHELL_EXEC" ];then
"$URL_SHELL_EXEC" "$install_gist_url"
else
curl -s -L "$install_gist_url" | bash
fi;
}
PRIVATE_REPO_CLONE_URL=$HOME/repos/private.files PRIVATE_REPO_BRANCH=local-mac download_and_exec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment