Removed .zshrc right before stow

This commit is contained in:
TuDatTr
2020-05-24 07:19:59 +02:00
parent 8396aa24c7
commit 687be671b6

View File

@@ -72,7 +72,6 @@ cp $CWD/etc/iptables/iptables.rules /etc/iptables/iptables.rules
# From this on we need need to be $username
su $username sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" &
rm /home/$username/.zshrc
su $username sh -c "git clone https://github.com/powerline/fonts.git --depth=1 /home/$username/fonts"
su $username sh -c "chmod +x /home/$username/fonts/install.sh"
@@ -81,6 +80,7 @@ su $username sh -c "rm -rf /home/$username/fonts/"
su $username sh -c "git clone https://gitlab.com/tudattr/dotfiles ./home/$username/.dotfiles"
su $username sh -c "stow -d /home/$username/.dotfiles -t /home/$username vim"
rm /home/$username/.zshrc
su $username sh -c "stow -d /home/$username/.dotfiles -t /home/$username zsh"
su $username sh -c "stow -d /home/$username/.dotfiles -t /home/$username config"