My emacs configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

  1. # Readme
  2. clon the repository into your computer, then make a symbolic lynk with the `.emacs` file by :
  3. ```
  4. ln -s ./emacs-configuration/.emacs ./.emacs
  5. ```
  6. or if you prefer you can put the full path by:
  7. ```
  8. ln -s /home/gmarx/emacs-configuration/.emacs /home/gmarx/.emacs
  9. ```
  10. `gmarx` folder is the user's folder, **change for your user's name**
  11. ## Source Code Pro installation
  12. Put this Bash script in your home folder and run it to install Source Code Pro. Make it executable with:
  13. ```
  14. chmod +x install-source-code-pro
  15. ```
  16. From your home folder, launch it with:
  17. ```
  18. ./install-source-code-pro.sh
  19. ```
  20. This file removes all installation files from the ~/Downloads folder when it's done.
  21. ```
  22. #!/usr/bin/env bash
  23. cd Downloads
  24. wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
  25. if [ ! -d "~/.fonts" ] ; then
  26. mkdir ~/.fonts
  27. fi
  28. unzip 1.050R-it.zip
  29. cp source-code-pro-*-it/OTF/*.otf ~/.fonts/
  30. rm -rf source-code-pro*
  31. rm 1.050R-it.zip
  32. cd ~/
  33. fc-cache -f -v
  34. ```
  35. ## PDF-Tools installation
  36. ```
  37. udo apt-get update -y
  38. sudo apt-get install -y elpa-pdf-tools
  39. ```