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.

39 lines
899 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. SCRIPT=$(readlink -f "$0")
  10. SCRIPTPATH=$(dirname "$SCRIPT")
  11. cd $HOME
  12. # Install the minimal toolset to bootstrap out process
  13. $PM_UPDATE
  14. # System basics for everything after this point
  15. $PM_INSTALL curl wget git zsh vim tmux mosh software-properties-common
  16. # Install OhMyZSH
  17. mkdir -p $HOME/build/oh-my-zsh
  18. cd $HOME/build/oh-my-zsh
  19. curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -o install.sh
  20. chmod +x install.sh
  21. $ENV sh install.sh
  22. cd $HOME
  23. # Add the screenfetch repository
  24. #sudo add-apt-repository -y 'ppa:djcj/screenfetch'
  25. # Install Other Essential Tools
  26. #$PM_INSTALL lsb-release screenfetch
  27. # Install Timeshift
  28. #$SCRIPTPATH/install_timeshift.sh
  29. # Return to where we started
  30. cd $OPWD