Skip to content

Instantly share code, notes, and snippets.

@EnzDev
Last active July 2, 2020 08:01
Show Gist options
  • Save EnzDev/6b03c3f455c3ef3c53e8d6621d76901e to your computer and use it in GitHub Desktop.
Save EnzDev/6b03c3f455c3ef3c53e8d6621d76901e to your computer and use it in GitHub Desktop.
#!/bin/bash
# Require root perms, try to elevate
if [ "$EUID" -ne 0 ]; then
echo "Need to have root privilege (uid: $UID | euid: $EUID )"
exit
fi
yum install --assumeyes -q tmux zsh zip unzip wget curl
wget -O ~/.zshrc https://git.grml.org/f/grml-etc-core/etc/zsh/zshrc
cp ~/.zshrc /home/root
chsh --shell=/bin/zsh
chsh --shell=/bin/zsh root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment