The repository is used to store dotfiles to unify my work environment of different Linux machine, which includes configure file of bash, zsh, vim, screen.
Dotfiles about: bash, zsh, oh-my-zsh, vim, screen. As to vim, I use pathogen.vim to manage 'runtimepath'.
git clone https://github.com/deadEnding/dotfiles.git ~/dotfiles cd dotfiles git submodule update --init --recursivecd~/dotfiles && ./makesymlinks.shYou can also add other dotfiles, and the dotfile can be plain file or another repository. One thing to be noted is that the dotfiles or their superior directory must be appended to the variable file in shell script makesymlinks.sh, so it will create symlink when executing makesymlinks.sh.
cp .<dotfile-name>~/dotfiles/<dotfile-name>Warning: Pay attention to the name change of dotfile. Don't forget to remove the dot when copying the dotfile.
Edit file makesymlinks.sh, append <dotfile-name> to the variable files.
It's a little troublesome to add another repository.
git submodule add <url><local-path>Edit file makesymlinks.sh, append top directory to the variable files.