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.

28 lines
599 B

  1. #!/usr/bin/env sh
  2. set -x
  3. set -e
  4. env=/usr/bin/env
  5. opwd=$PWD
  6. package_manager="sudo dnf"
  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
  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. # Return to where we started
  22. cd $opwd