#!/usr/bin/ENV sh set -x set -e ENV=/usr/bin/ENV OPWD=$PWD PACKAGE_MANAGER="sudo apt-get" PM_UPDATE="$PACKAGE_MANAGER update" PM_INSTALL="$PACKAGE_MANAGER install" SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") cd $HOME # Install the minimal toolset to bootstrap out process $PM_UPDATE # System basics for everything after this point $PM_INSTALL curl wget git zsh vim tmux mosh python-software-properties software-properties-common # Install OhMyZSH mkdir -p $HOME/build/oh-my-zsh cd $HOME/build/oh-my-zsh curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -o install.sh chmod +x install.sh $ENV sh install.sh cd $HOME # Add the screenfetch repository sudo add-apt-repository -y 'ppa:djcj/screenfetch' # Install Other Essential Tools $PM_INSTALL lsb-release screenfetch # Install Timeshift $SCRIPTPATH/install_timeshift.sh # Return to where we started cd $OPWD