Fixed python3-pip since that package doesn't exist, removed powerlevel9k since I don't use it anymore and fixed stow commands
This commit is contained in:
@@ -70,15 +70,18 @@ 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)" &
|
||||
cp -r /usr/share/zsh-theme-powerlevel9k $HOME/.oh-my-zsh/themes/powerlevel9k
|
||||
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"
|
||||
su $username sh -c "/home/$username/fonts/install.sh"
|
||||
su $username sh -c "rm -rf /home/$username/fonts/"
|
||||
|
||||
su $username sh -c "git clone git@gitlab.com:TuDatTr/dotfiles.git /home/$username/.dotfiles"
|
||||
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"
|
||||
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"
|
||||
|
||||
systemctl disable march
|
||||
|
||||
wall "March done."
|
||||
shutdown -r now
|
||||
|
||||
Reference in New Issue
Block a user