Change shell (chsh) of user, not root
This commit is contained in:
parent
5635e9efac
commit
039d2db196
@ -30,7 +30,7 @@ else
|
|||||||
pacstrap /mnt zsh git
|
pacstrap /mnt zsh git
|
||||||
arch-chroot /mnt git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git /home/$name/.oh-my-zsh
|
arch-chroot /mnt git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git /home/$name/.oh-my-zsh
|
||||||
wget https://git.darknebu.la/maride/config/raw/master/zshrc -O /mnt/home/$name/.zshrc
|
wget https://git.darknebu.la/maride/config/raw/master/zshrc -O /mnt/home/$name/.zshrc
|
||||||
arch-chroot /mnt chsh -s /bin/zsh
|
arch-chroot /mnt chsh -s /bin/zsh $name
|
||||||
fi
|
fi
|
||||||
|
|
||||||
amf_return=0
|
amf_return=0
|
||||||
|
Loading…
Reference in New Issue
Block a user