Skip to content

Instantly share code, notes, and snippets.

@ivan-c
Last active July 8, 2019 21:20
Show Gist options
  • Save ivan-c/35b5ce99e54006d1c90d to your computer and use it in GitHub Desktop.
Save ivan-c/35b5ce99e54006d1c90d to your computer and use it in GitHub Desktop.
#!/bin/sh
set -eux
git clone https://github.com/andsens/homeshick "${HOME}/.homesick/repos/homeshick"
homeshick_bin="${HOME}/.homesick/repos/homeshick/bin/homeshick"
homeshick="${homeshick_bin} --force --verbose"
yes | $homeshick clone ivan-c/dotfiles
# Clone castle that requires symlinks, even if disabled by user
yes | $homeshick clone ivan-c/keychain-castle
cd "${HOME}/.homesick/repos/keychain-castle"
git config --local core.symlinks true
git checkout -- .
yes | $homeshick link keychain-castle
echo done setting up homeshick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment