Skip to content

Instantly share code, notes, and snippets.

View jonmackenzie's full-sized avatar

Jonathan MacKenzie jonmackenzie

View GitHub Profile
@jonmackenzie
jonmackenzie / dotify.sh
Last active July 20, 2018 16:22
script for doing dotfile/ config stuff, script for installing zsh without root. I highly recommend not running any of this if you don't know what it's doing. Because if you knew what it's doing, you would not run it. http://cs.smu.ca/~j_mackenzie/config/
# adapted from https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/
echo -e "\n\n\n\n=================================================="
echo -e "SETTING UP CONFIG"
echo -e "==================================================\n\n\n\n"
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}