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.

46 lines
966 B

  1. #!/usr/bin/env sh
  2. set -x
  3. set -e
  4. env=/usr/bin/env
  5. opwd-$PWD
  6. cd $HOME
  7. # Install the minimal toolset to bootstrap out process
  8. sudo pacman -Syu
  9. # Install the development requirements so we can use aur packages
  10. sudo pacman -S --needed base-devel
  11. # System basics for everything after this point
  12. sudo pacman -S curl wget git zsh vim tmux
  13. # Install OhMyZSH
  14. mkdir -p $HOME/build/oh-my-zsh
  15. cd $HOME/build/oh-my-zsh
  16. curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -o install.sh
  17. chmod +x install.sh
  18. $env sh install.sh
  19. cd $HOME
  20. # Install package-query for yaourt
  21. cd $HOME/build
  22. git clone https://aur.archlinux.org/package-query.git
  23. cd package-query
  24. makepkg -sri
  25. # Install yaourt
  26. cd $HOME/build
  27. git clone https://aur.archlinux.org/yaourt.git
  28. cd yaourt
  29. makepkg -sri
  30. # Do a proper update including aur
  31. cd $HOME
  32. yaourt -Syua
  33. # Install Other Essential Tools
  34. yaourt -S lsb-release screenfetch
  35. # Return to where we started
  36. cd $opwd