banner

Configure Software

Change /bin/sh

Check your /bin/sh if it says whatever shell you want, it's set. check your installed shells, if not install your shell with your package manager on Arch pacman -S dash as an example of dash on arch, link your shell

Check your /bin/sh

To check if dash is linked to /bin/sh run ls -l /bin/sh

Check what shells are Installed

Run cat /etc/shells to see what shells are installed

Link shell to /bin/sh

Use ln -sf insertshellbinarynamehere /bin/sh as root

Changing your User Shell

To change your user shell to whatever you want, find the shell on your system via cat /etc/shells and then set it with usermod --shell /bin/mksh YOURUSERNAME as an example.

Configure Doas

Put permit persist keepenv YOURUSERNAME as root in your doas.conf, if you want to know what everything does you can find information on the doas.conf online.

Yay with Doas

To run Yay with with Doas, you need to make a shell alias, simply add alias yay='yay --sudo doas' to your .kshrc, .bashrc, .mkshrc, or .zshrc

Configure Pacman

You can add the ParalellDownloads option to your /etc/pacman.conf to allow parallel downloading, i recommend setting this to your processor threads, for example on my system i added. ParalellDownloads = 6 also if you need to enable multilib uncomment
[multilib]
Include = /etc/pacman.d/mirrorlist

Alias SU

add alias sudo su root -c and/or alias doas su root -c to your shells .shrc.

Set $env

Add
#ENV
ENV="$HOME/.shrc"
export ENV
to your /etc/profile