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
28 lines
599 B
#!/usr/bin/env sh
|
|
|
|
set -x
|
|
set -e
|
|
|
|
env=/usr/bin/env
|
|
opwd=$PWD
|
|
package_manager="sudo dnf"
|
|
pm_update="$package_manager update"
|
|
pm_install="$package_manager install"
|
|
|
|
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
|
|
|
|
# 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
|
|
|
|
# Return to where we started
|
|
cd $opwd
|