Created
February 7, 2010 19:08
-
-
Save chrismetcalf/297599 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 | |
PATH=$HOME/.homedir/bin:$PATH | |
pushd $HOME | |
echo "Setting up .ssh directory" | |
if [[ ! -d .ssh ]]; then | |
echo ".ssh doesn't exist yet, creating..." | |
mkdir .ssh | |
fi | |
dircombine '.*' .ssh $HOME/.homedir/.ssh | |
echo "Linking in .dotfiles..." | |
dircombine '.*' . $HOME/.homedir | |
echo "Done!" | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment