From 687be671b623cef5903e5e7e793185aa0387b3b7 Mon Sep 17 00:00:00 2001 From: TuDatTr Date: Sun, 24 May 2020 07:19:59 +0200 Subject: [PATCH] Removed .zshrc right before stow --- root/march-reboot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/march-reboot.sh b/root/march-reboot.sh index 4841c8f..d291303 100644 --- a/root/march-reboot.sh +++ b/root/march-reboot.sh @@ -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"