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.

34 lines
810 B

  1. #!/usr/bin/env sh
  2. set -x
  3. set -e
  4. env=/usr/bin/env
  5. opwd=$PWD
  6. package_manager="sudo apt-get"
  7. pm_update="$package_manager update"
  8. pm_install="$package_manager install"
  9. cd $HOME
  10. # Install the minimal toolset to bootstrap out process
  11. $pm_update
  12. # System basics for everything after this point
  13. $pm_install curl wget git zsh vim tmux mosh python-software-properties software-properties-common
  14. # Install OhMyZSH
  15. mkdir -p $HOME/build/oh-my-zsh
  16. cd $HOME/build/oh-my-zsh
  17. curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -o install.sh
  18. chmod +x install.sh
  19. $env sh install.sh
  20. cd $HOME
  21. # Add the screenfetch repository
  22. sudo add-apt-repository -y 'ppa:djcj/screenfetch'
  23. # Install Other Essential Tools
  24. $pm_install lsb-release screenfetch
  25. # Return to where we started
  26. cd $opwd