Advertisement
Guest User

Untitled

a guest
May 28th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. [[ -e ~/dotfiles ]] || git clone git@github.com:pixyzehn/dotfiles/dotfiles.git ~/dotfiles
  4. pushd ~/dotfiles
  5. git submodule init
  6. git submodule update
  7. for i in `ls -a`
  8. do
  9. [ $i = "." ] && continue
  10. [ $i = ".." ] && continue
  11. [ $i = ".git" ] && continue
  12. [ $i = "README.md" ] && continue
  13. ln -s ~/dotfiles/$file ~/
  14. done
  15. popd
  16.  
  17. vim -c ':NeoBundleInstall!' -c ':q!' -c ':q!'
  18.  
  19. [[ -e ~/.oh-my-zsh ]] || git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
  20.  
  21. # git diff-highlight
  22. ln -s /usr/local/share/git-core/contrib/diff-highlight/diff-highlight /usr/local/bin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement