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
To check if dash is linked to /bin/sh run ls -l /bin/sh
Run cat /etc/shells
to see what shells are installed
Use ln -sf insertshellbinarynamehere /bin/sh
as root
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.
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.
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
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
add alias sudo su root -c
and/or alias doas su root -c
to your shells .shrc.
Add
#ENV
to your
ENV="$HOME/.shrc"
export ENV
/etc/profile