Last active
December 30, 2015 17:59
-
-
Save rtomaszewski/7865022 to your computer and use it in GitHub Desktop.
install dotfiles
This file contains hidden or 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
# (1) Example can be found here | |
# https://github.com/rtomaszewski/dotfiles | |
# (2) | |
#alias homeshick="source $HOME/.homesick/repos/homeshick/bin/homeshick.sh" | |
git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick | |
source $HOME/.homesick/repos/homeshick/homeshick.sh | |
# (3) | |
homeshick clone rtomaszewski/dotfiles | |
# because we don't use 'home' directory in the dotfiles repository we use this workaround | |
homeshick generate local | |
homeshick cd local | |
cd home | |
find ../../../repos/dotfiles -maxdepth 1 ! -name .git -a ! -name dotfiles -exec ln -s {} . \; | |
# (4) | |
homeshick link | |
# (5) | |
cat $HOME/.mydotfiles >> $HOME/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment