RUNME 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/sh
  2. # Running this script creates the appropriate symlinks in home
  3. # Use from within dotFiles directory
  4. # A lot of this extra knowledge courtesy of vimcasts.org!
  5. # Vim
  6. ln -s dotFiles/vim/ ~/.vim
  7. ln -s dotFiles/vim/vimrc ~/.vimrc
  8. # Vim persistent undo directory
  9. mkdir ~/.vimundo
  10. # Zsh
  11. ln -s dotFiles/zsh/zshrc ~/.zshrc
  12. ln -s dotFiles/zsh/zshenv ~/.zshenv
  13. # Make a known_hosts file if none, otherwise zsh throws an error for our .zshrc
  14. touch ~/.ssh/known_hosts
  15. # Pentadactyl
  16. ln -s dotFiles/pentadactyl/pentadactylrc ~/.pentadactylrc
  17. # Screen
  18. ln -s dotFiles/screen/screenrc ~/.screenrc
  19. # This repository has vim plugins as submodules, so initialise and clone them in
  20. git submodule init
  21. git submodule update
  22. # Add more vim plugins from this dotFiles directory, like so:
  23. # git submodule add git://github.com/tpope/vim-pathogen.git vim/bundle/pathogen
  24. #
  25. # Apart from updating plugins individually, you can update all submodules in one shot
  26. # git submodule foreach git pull origin master
  27. # color for git! Some machines don't have it.
  28. git config --global color.ui true
  29. # Ack for this user (perl 5.8.8 or higher on system)
  30. # curl http://betterthangrep.com/ack-standalone > ~/bin/ack && chmod 0755 !#:3