Created directory for storing zsh history

This commit is contained in:
2023-03-30 19:34:55 -04:00
parent a409cc80bc
commit 01c175018f
+2 -1
View File
@@ -76,10 +76,11 @@ if [ "$gpu" == 'NVIDIA' ]; then
fi
# shell configuration
mkdir /home/"$username"/.local/share/zsh
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/shell-profile -o /home/"$username"/.profile
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/bashrc -o /home/"$username"/.bashrc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/zshrc -o /home/"$username"/.zshrc
chown "$username":users /home/"$username"/{.profile,.bashrc,.zshrc}
chown "$username":users /home/"$username"/{.profile,.bashrc,.zshrc} /home/"$username"/.local/share/zsh
chsh -s /bin/dash "$username"
ln -sfT dash /usr/bin/sh
pacman -Sy zsh zsh-autosuggestions zsh-syntax-highlighting openrc-zsh-completions --noconfirm