larbs

Luke's Auto-Rice Bootstrapping Scripts: Auto-Setup & Configure Arch Linux
Log | Files | Refs | README | LICENSE

commit 292866393d12268cb6914d4bdb2bb339391ad772
parent ebe38c505f35974ee7867df6b94afc489d9400a2
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri, 22 Nov 2019 18:58:30 -0500

sed command now actually switches to zsh

Diffstat:
Mlarbs.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/larbs.sh b/larbs.sh @@ -221,7 +221,7 @@ newperms "%wheel ALL=(ALL) ALL #LARBS %wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm" # Make zsh the default shell for the user -sed "s/^$name:\(.*\):\/bin\/.*/$name:\1:\/bin\/zsh/" /etc/passwd +sed -i "s/^$name:\(.*\):\/bin\/.*/$name:\1:\/bin\/zsh/" /etc/passwd # dbus UUID must be generated for Artix runit dbus-uuidgen > /var/lib/dbus/machine-id