Created
July 12, 2014 00:34
-
-
Save budougumi0617/47d95a962a9453eb5dc3 to your computer and use it in GitHub Desktop.
homeshickとgit submoduleコマンドでプラグインも含めたドットファイルを全て管理する ref: http://qiita.com/budougumi0617/items/07cd145af12c65dbe77c
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
$git clone git://github.com/andsens/homeshick.git ~/.homesick/repos/homeshick | |
$printf '\nsource "$HOME/.homesick/repos/homeshick/homeshick.sh"' >> $HOME/.bashrc | |
$printf '\nsource "$HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash"' >> $HOME/.bashrc | |
$source ~/.bashrc |
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
$git clone https://github.com/budougumi0617/dotfiles.git ~/.homesick/repos/dotfiles | |
$homechick cd dotfiles | |
$mkdir home |
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
$cp ~/.vimrc ~/.homesick/repos/dotfiles/home/ | |
$cp ~/.zshrc ~/.homesick/repos/dotfiles/home/ |
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
$git submodule add https://github.com/Shougo/unite.vim.git ~/.homesick/repos/dotfiles/home/.vim/bundle/unite.vim | |
$git submodule add https://github.com/Shougo/neobundle.vim ~/.homesick/repos/dotfiles/home/.vim/bundle/neobundle.vim | |
git submodule add https://github.com/robbyrussell/oh-my-zsh.git ~/.homesick/repos/dotfiles/home/.oh-my-zh |
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
$homeshick cd dotfiles | |
$git submodule init | |
$git submodule update |
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
$git clone git://github.com/andsens/homeshick.git ~/.homesick/repos/ | |
$printf '\nsource "$HOME/.homesick/repos/homeshick/homeshick.sh"' >> $HOME/.bashrc | |
$printf '\nsource "$HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash"' >> $HOME/.bashrc | |
$source ~/.bashrc | |
$git clone https://github.com/budougumi0617/dotfiles.git ~/.homesick/repos/ | |
$homeshick cd dotfiles | |
$git submodule init | |
$git submodule update | |
$homeshick symlink dotfiles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment