Skip to content

Instantly share code, notes, and snippets.

@brona90
Last active February 5, 2021 19:10
Show Gist options
  • Save brona90/4e70d4cab20ebf910870f2b3242a25b6 to your computer and use it in GitHub Desktop.
Save brona90/4e70d4cab20ebf910870f2b3242a25b6 to your computer and use it in GitHub Desktop.
clone config for setting up new machine
curl -fsSL https://starship.rs/install.sh | bash
git clone --bare https://github.com/brona90/config.git ${HOME}/.cfg
function config {
/usr/bin/git --git-dir=${HOME}/.cfg/ --work-tree=${HOME} $@
}
config checkout master
config config status.showUntrackedFiles no
config submodule update --init --recursive &&
cd ${HOME}/.yadr &&
rake install &&
ls -sf ${HOME}/.tmux/.tmux.conf ${HOME}/.tmux.conf
emacs -nw -batch -u ${USER} -q -kill
cd ${HOME}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment