Skip to content

Instantly share code, notes, and snippets.

View Lacrymology's full-sized avatar

Tomas Neme Lacrymology

  • ShipHero LLC
  • Barcelona
View GitHub Profile
@Lacrymology
Lacrymology / setup-config.sh
Last active August 21, 2018 11:34
Setup my config
git clone --bare git@bitbucket.org:Lacrymology/dotfiles.git $HOME/.cfg.git
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
echo "Checked out config.";