Last active
July 8, 2019 21:20
-
-
Save ivan-c/35b5ce99e54006d1c90d to your computer and use it in GitHub Desktop.
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
#!/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