aboutsummaryrefslogtreecommitdiff
path: root/post_chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'post_chroot.sh')
-rwxr-xr-xpost_chroot.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/post_chroot.sh b/post_chroot.sh
index 7725289..de5ec2a 100755
--- a/post_chroot.sh
+++ b/post_chroot.sh
@@ -80,7 +80,7 @@ if [ "$_kernelflag" -eq 1 ]; then
fi
# use dash as sh
-pacman -Sy dash
+pacman -Sy dash zsh
ln -sfT dash /usr/bin/sh
mkdir -p /etc/pacman.d/hooks
cat <<EOL >> /etc/pacman.d/hooks/bash.hook
@@ -97,4 +97,6 @@ Exec = /usr/bin/ln -sfT dash /usr/bin/sh
Depends = dash
EOL
+chsh -s /bin/zsh $_username
+
rm /post_chroot.sh