mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-09-05 08:27:16 -04:00
Added custom .bashrc
This commit is contained in:
+5
-3
@@ -22,9 +22,6 @@ hwclock --systohc --utc
|
|||||||
pacman -S networkmanager-openrc --noconfirm
|
pacman -S networkmanager-openrc --noconfirm
|
||||||
rc-update add NetworkManager
|
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
|
# bootloader installation and configuration
|
||||||
pacman -S grub efibootmgr os-prober mtools dosfstools --noconfirm
|
pacman -S grub efibootmgr os-prober mtools dosfstools --noconfirm
|
||||||
if [ "$boot" == 1 ]; then
|
if [ "$boot" == 1 ]; then
|
||||||
@@ -55,6 +52,11 @@ $userpassword
|
|||||||
echo "permit persist keepenv $username as root" > /etc/doas.conf
|
echo "permit persist keepenv $username as root" > /etc/doas.conf
|
||||||
ln -s /usr/bin/doas /usr/bin/sudo
|
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
|
# 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
|
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
|
if [ "$gpu" == 'NVIDIA' ]; then
|
||||||
|
|||||||
Executable
+13
@@ -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
|
||||||
Reference in New Issue
Block a user