setup(){
  echo "Install packages? (root access required) [Y/n]"
  read y
  [ "$y" == "y" ] || [ -z "$y" ] && install_packages
  [ -d ~/.config/TEMP ] && rm -rf ~/.config/TEMP;
  mkdir ~/.config/TEMP;
  # download, source variables
  wget -P ~/.config/TEMP https://meerschaum.io/files/misc/scripts/globs.sh;
  . ~/.config/TEMP/globs.sh
  wget -P ~/.config/TEMP https://meerschaum.io/files/misc/scripts/git.sh;
  . ~/.config/TEMP/git.sh
  # download, source update script
  wget -P ~/.config/TEMP https://meerschaum.io/files/misc/scripts/update.sh;
  . ~/.config/TEMP/update.sh;

  update_all;

  # cleanup
  rm -rf ~/.config/TEMP

  echo "I recommend restarting your terminal."
  # lb
  load_scripts
  # tmux_plugins
  # c
}
install_packages(){
  sudo apt-get update && sudo apt-get install htop git vim openssh-server mosh tmux fzf profile-sync-daemon -y
}
setup_junest(){
  sudo echo 'Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
  echo -e "n\n\n\n" | sudo pacman -Sy --ignore sudo base-devel
  sudo pacman -S vim htop git mosh python python-pip --noconfirm
}
