diff --git a/chrootInstall.sh b/chrootInstall.sh index bb8dc42..ab2bc0c 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -22,9 +22,6 @@ hwclock --systohc --utc pacman -S networkmanager-openrc --noconfirm rc-update add NetworkManager -# makepkg configuration - temporarily disabled -#curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/makepkg.conf -o /etc/makepkg.conf - # bootloader installation and configuration pacman -S grub efibootmgr os-prober mtools dosfstools --noconfirm if [ "$boot" == 1 ]; then @@ -55,6 +52,11 @@ $userpassword echo "permit persist keepenv $username as root" > /etc/doas.conf ln -s /usr/bin/doas /usr/bin/sudo +# misc. configuration +#curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/makepkg.conf -o /etc/makepkg.conf +curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/bashrc -o /home/"$username"/.bashrc +chown "$username":"$users" /home/"$username"/.bashrc + # pacman configuration curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/paccache-clean-hook -o /etc/pacman.d/hooks/paccache-clean.hook if [ "$gpu" == 'NVIDIA' ]; then diff --git a/config-files/bashrc b/config-files/bashrc new file mode 100755 index 0000000..879858e --- /dev/null +++ b/config-files/bashrc @@ -0,0 +1,13 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='\033[1;36m\u@\h:\033[0m\W\033[1;36m|$\033[0m ' + +export BUILDDIR=/tmp/makepkg +export HISTSIZE=10000 +export HISTFILESIZE=100000