This commit is contained in:
computer 2021-11-10 13:59:46 -05:00
parent 72ba49bea1
commit bfe272bbf9
2 changed files with 5 additions and 3 deletions

View File

@ -37,4 +37,4 @@ sh get-docker.sh
## Force install ohmyzsh on first login
curl -o /root/zsh-setup.sh https://digitalocean-user-data:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/Colin_/do-userdata/raw/branch/master/hasql.nixc.us/zsh-setup.sh
chmod +x /root/zsh-setup.sh
echo bash /root/zsh-setup.sh >> /root/.profile

View File

@ -5,5 +5,7 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too
# echo y|sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
chsh -s $(which zsh)
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="pygmalion"/g' /root/.zshrc
source /root/zshrc
rm -f /root/.bash_login
sed -i 's/bash /root/zsh-setup.sh//d' /root/.profile
rm -f /root/zsh-setup.sh
echo "Relog into terminal finished bootstrapping server"
exit