diff options
author | awy <awy@tutamail.com> | 2024-08-21 14:04:47 +0300 |
---|---|---|
committer | awy <awy@tutamail.com> | 2024-08-21 14:04:47 +0300 |
commit | cb63fac1c8ad3fe9f1f1470d6754b5ff57d90703 (patch) | |
tree | f79a5111c3b174e953ed49de85c2f99e1d941998 /post_chroot.sh | |
parent | 1ab16323eafe4b9a0697b92561ca5463fe8f5b3a (diff) |
zsh
Diffstat (limited to 'post_chroot.sh')
-rwxr-xr-x | post_chroot.sh | 4 |
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 |