Last active
October 2, 2017 05:42
-
-
Save antontsv/2c8b4a00ec778e20227e49e8f38aaf93 to your computer and use it in GitHub Desktop.
Dotfiles setup including private repo
This file contains 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
#!/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