chore: scrub remaining username placeholders in wsl docs
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
# Configure New Archlinux in WSL
|
# Configure New Archlinux in WSL
|
||||||
|
|
||||||
## Add user `gwb`
|
## Add user `<username>`
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd
|
cd
|
||||||
pacman -Syu
|
pacman -Syu
|
||||||
useradd -m gwb
|
useradd -m <username>
|
||||||
```
|
```
|
||||||
|
|
||||||
run
|
run
|
||||||
@@ -16,11 +16,11 @@ to set a password for `root`
|
|||||||
|
|
||||||
run
|
run
|
||||||
```shell
|
```shell
|
||||||
passwd gwb
|
passwd <username>
|
||||||
```
|
```
|
||||||
to set a password for user `gwb`
|
to set a password for user `<username>`
|
||||||
|
|
||||||
## Add user `gwb` into group `sudo`
|
## Add user `<username>` into group `sudo`
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
pacman -S sudo
|
pacman -S sudo
|
||||||
@@ -29,7 +29,7 @@ pacman -S vim
|
|||||||
edit `/etc/sudoers`
|
edit `/etc/sudoers`
|
||||||
uncomment `%wheel ALL=(ALL:ALL) ALL`
|
uncomment `%wheel ALL=(ALL:ALL) ALL`
|
||||||
```shell
|
```shell
|
||||||
usermod -aG wheel gwb
|
usermod -aG wheel <username>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install and configure `ZSH`
|
## Install and configure `ZSH`
|
||||||
@@ -41,12 +41,12 @@ pacman -S fzf
|
|||||||
pacman -S zoxide
|
pacman -S zoxide
|
||||||
pacman -S starship
|
pacman -S starship
|
||||||
pacman -S python
|
pacman -S python
|
||||||
su gwb
|
su <username>
|
||||||
cd
|
cd
|
||||||
git clone <repo-url> $HOME/.TerminalPolyjuice
|
git clone <repo-url> $HOME/.TerminalPolyjuice
|
||||||
chsh -s /bin/zsh
|
chsh -s /bin/zsh
|
||||||
exit
|
exit
|
||||||
su gwb
|
su <username>
|
||||||
cd
|
cd
|
||||||
mkdir .config
|
mkdir .config
|
||||||
cd $HOME/.TerminalPolyjuice/zsh
|
cd $HOME/.TerminalPolyjuice/zsh
|
||||||
@@ -55,7 +55,7 @@ zsh polyjuice.sh install_ohmyzsh config_starship check
|
|||||||
|
|
||||||
add the contents in `$HOME/.TerminalPolyjuice/zsh/zshenv` into `$HOME/.zshenv`
|
add the contents in `$HOME/.TerminalPolyjuice/zsh/zshenv` into `$HOME/.zshenv`
|
||||||
|
|
||||||
# Set `gwb` as default user
|
# Set `<username>` as default user
|
||||||
```shell
|
```shell
|
||||||
wsl --manage archlinux --set-default-user gwb
|
wsl --manage archlinux --set-default-user <username>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user