Added custom .bashrc

This commit is contained in:
2022-06-26 01:41:28 -04:00
parent 13e8444f8d
commit c589cfa80f
2 changed files with 18 additions and 3 deletions
+5 -3
View File
@@ -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
+13
View File
@@ -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