924 B
Executable File
924 B
Executable File
Configure New Archlinux in WSL
Add user gwb
cd
pacman -Syu
useradd -m gwb
run
passwd
to set a password for root
run
passwd gwb
to set a password for user gwb
Add user gwb
into group sudo
pacman -S sudo
pacman -S vim
edit /etc/sudoers
uncomment %wheel ALL=(ALL:ALL) ALL
usermod -aG wheel gwb
Install and configure ZSH
pacman -S zsh
pacman -S git
pacman -S fzf
pacman -S zoxide
pacman -S starship
pacman -S python
su gwb
cd
git clone https://gitea.meip.work/gwbeip/TerminalPolyjuice.git $HOME/.TerminalPolyjuice
chsh -s /bin/zsh
exit
su gwb
cd
mkdir .config
cd $HOME/.TerminalPolyjuice/zsh
zsh polyjuice.sh install_ohmyzsh config_starship check
add the contents in $HOME/.TerminalPolyjuice/zsh/zshenv
into $HOME/.zshenv
Set gwb
as default user
wsl --manage archlinux --set-default-user gwb