mk_sym_links.sh 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. #!/bin/bash
  2. #bashrc symlink
  3. ln -sf ~/config_files/.bashrc ~/.bashrc
  4. #vimrc symlink
  5. ln -sf ~/config_files/vim/.vimrc ~/.vimrc
  6. #.emacs symlink
  7. ln -sf ~/config_files/emacs/.emacs ~/.emacs
  8. #for xmledit in vim, link the xml.vim file to html.vim
  9. #otherwise, tag completions won't work in erb and the like
  10. ln -sf ~/.vim/plugged/xmledit/ftplugin/xml.vim ~/.vim/plugged/xmledit/ftplugin/html.vim
  11. #.vim/after symlink
  12. ln -sf ~/config_files/vim/after/ ~/.vim/
  13. # mkdir -p ~/.vim/after/plugin
  14. # ln -sf ~/config_files/vim/after/plugin/disable_mappings.vim ~/.vim/after/plugin/disable_mappings.vim
  15. #dracula theme
  16. ln -sf ~/config_files/vim/dracula.vim ~/.vim/plugged/vim/colors/dracula.vim
  17. #zshrc symlink
  18. ln -sf ~/config_files/zsh/.zshrc ~/.zshrc
  19. # inputrc - added so that IRB will use vi-mode
  20. ln -sf ~/config_files/.inputrc ~/.inputrc
  21. #gitconfig symlink
  22. ln -sf ~/config_files/.gitconfig ~/.gitconfig
  23. #elinks symlinks
  24. #first is for mint/lubuntu, second is for arch
  25. ln -sf ~/config_files/.elinks_conf ~/.elinks/elinks.conf
  26. # ln -sf ~/config_files/.elinks_conf ~/.elinks.conf
  27. #xinit symlink
  28. ln -sf ~/config_files/.xinitrc ~/.xinitrc
  29. ln -sf ~/config_files/.xinitrc ~/.xsessionrc #for lightdm w/ debian
  30. #xmodmap symlink - for caps/esc
  31. ln -sf ~/config_files/.xmodmap_custom_mappings ~/.Xmodmap
  32. # toprc symlink
  33. ln -sf ~/config_files/.toprc ~/.toprc
  34. # i3 config symlink
  35. ln -sf ~/config_files/i3/i3_config ~/.config/i3/config
  36. # i3status/config symlink
  37. ln -sf ~/config_files/i3/i3_status_config ~/.config/i3status/config
  38. # compton config symlink
  39. ln -sf ~/config_files/compton.conf ~/.config/compton.conf
  40. # Xterm configuration - using Xresources
  41. ln -sf ~/config_files/.Xresources ~/.Xresources
  42. # ranger config symlink
  43. ln -sf ~/config_files/ranger/rc.conf ~/.config/ranger/rc.conf
  44. # ranger commands symlink
  45. ln -sf ~/config_files/ranger/commands.py ~/.config/ranger/commands.py
  46. # ranger scope symlink (scope controls external scripts) ; mainly changing to enable pdf previews
  47. ln -sf ~/config_files/ranger/scope.sh ~/.config/ranger/scope.sh
  48. # rifle symlink
  49. ln -sf ~/config_files/ranger/rifle.conf ~/.config/ranger/rifle.conf
  50. # tmux symlink
  51. ln -sf ~/config_files/.tmux.conf ~/.tmux.conf
  52. #ultisnips folder symlink
  53. # T switch tells ln to treat any existing link as just a file (stop recursive
  54. # nesting of UltiSnips dir)
  55. ln -sfT ~/config_files/vim/UltiSnips/ ~/.vim/UltiSnips
  56. # cmus rc symlink
  57. ln -sf ~/config_files/cmus_rc ~/.config/cmus/rc
  58. # urlview symlink
  59. ln -sf ~/config_files/.urlview ~/.urlview
  60. # fzf (fuzzyfinder) symlink
  61. ln -sf ~/config_files/.fzf.zsh ~/.fzf.zsh
  62. # libinput - trackpad config
  63. sudo ln -sf ~/config_files/30-touchpad.conf /etc/X11/xorg.conf.d/30-touchpad.conf
  64. # backlight control
  65. sudo ln -sf ~/config_files/10-backlight.conf /etc/X11/xorg.conf.d/10-backlight.conf
  66. # pman symlink
  67. echo "Make the pman symlink manually"