#!/bin/bash sudo dnf install epel-release wget git nano zsh sqlite -y sudo groupadd sudo sudo bash -c 'echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers' sudo useradd -md /home/zotan -s /bin/zsh -UG sudo zotan sudo -u zotan mkdir /home/zotan/.ssh sudo -u zotan wget -O /home/zotan/.ssh/authorized_keys share.zotan.services/authorized_keys sudo -u zotan bash -c 'curl ztn.sh/prezto.sh -L | zsh' # Don't automatically clear the terminal on logout sudo sed -i '/^\s*clear\s*$/d' /etc/zlogout