mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-09-05 16:37:17 -04:00
Created directory for storing zsh history
This commit is contained in:
+2
-1
@@ -76,10 +76,11 @@ if [ "$gpu" == 'NVIDIA' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# shell configuration
|
# 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/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/bashrc -o /home/"$username"/.bashrc
|
||||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/zshrc -o /home/"$username"/.zshrc
|
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"
|
chsh -s /bin/dash "$username"
|
||||||
ln -sfT dash /usr/bin/sh
|
ln -sfT dash /usr/bin/sh
|
||||||
pacman -Sy zsh zsh-autosuggestions zsh-syntax-highlighting openrc-zsh-completions --noconfirm
|
pacman -Sy zsh zsh-autosuggestions zsh-syntax-highlighting openrc-zsh-completions --noconfirm
|
||||||
|
|||||||
Reference in New Issue
Block a user