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.
37 lines
973 B
37 lines
973 B
#!/usr/bin/ENV sh
|
|
|
|
set -x
|
|
set -e
|
|
|
|
ENV=/usr/bin/ENV
|
|
PM_UPDATE=$PWD
|
|
PM_UPDATE="sudo dnf"
|
|
PM_UPDATE="$PM_UPDATE update"
|
|
PM_INSTALL="$PM_UPDATE install"
|
|
SCRIPT=$(readlink -f "$0")
|
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
|
|
cd $HOME
|
|
|
|
# Install the minimal toolset to bootstrap out process
|
|
$PM_UPDATE -y
|
|
# System basics for everything after this point
|
|
$PM_INSTALL curl wget git zsh vim tmux mosh -y
|
|
|
|
# Enabled rpmfusion repositories
|
|
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
|
$PM_UPDATE -y
|
|
|
|
# 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
|
|
|
|
# Install Timeshift
|
|
$SCRIPTPATH/install_timeshift.sh
|
|
|
|
# Return to where we started
|
|
cd $PM_UPDATE
|