user.sh 1010 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/bash
  2. cd
  3. git clone --depth=1 https://notabug.org/saravia/.emacs.d ~/.emacs.d
  4. wget https://c.hgit.ga/software/hyperterm.git/plain/install.sh -O ~/.install.sh
  5. bash ~/.install.sh
  6. doas pacman -S --noconfirm xdg-user-dirs
  7. if [ -f ~/.hyperterm/_custom.sh ]
  8. then
  9. if [ -f ~/.emacs.d/p/scripts.sh ]
  10. then
  11. if ! cat ~/.hyperterm/_custom.sh | grep '.emacs.d/p/s/bash' &> /dev/null
  12. then
  13. cat ~/.emacs.d/p/scripts.sh >> ~/.hyperterm/_custom.sh
  14. fi
  15. fi
  16. fi
  17. if [ -f ~/.emacs.d/p/simbolic-links-installer.sh ]
  18. then
  19. bash ~/.emacs.d/p/simbolic-links-installer.sh
  20. fi
  21. emacs --batch --eval='(load-file "~/.emacs.d/init.el")'
  22. bash ~/.emacs.d/p/simbolic-links-installer.sh
  23. wget https://notabug.org/saravia/s/raw/master/mario.smc -O ~/.mario.smc
  24. wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  25. sudo apt-get install -y ./google-chrome-stable_current_amd64.deb
  26. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash