feat(archlinux): add zsh

main
sudo pacman -Syu 2024-07-23 02:48:45 +07:00
parent 8fd013450b
commit d1139a9aa8
2 changed files with 22 additions and 8 deletions

View File

@ -308,6 +308,9 @@ pacstrap -K /mnt btrfs-progs
<span class="pl-c"><span class="pl-c">#</span> LVM (optional)</span> <span class="pl-c"><span class="pl-c">#</span> LVM (optional)</span>
pacstrap -K /mnt lvm2 pacstrap -K /mnt lvm2
<span class="pl-c"><span class="pl-c">#</span> zsh (optional)</span>
pacstrap -K /mnt zsh
<span class="pl-c"><span class="pl-c">#</span> Text editor</span> <span class="pl-c"><span class="pl-c">#</span> Text editor</span>
pacstrap -K /mnt neovim</pre> pacstrap -K /mnt neovim</pre>
</div> </div>
@ -607,13 +610,20 @@ useradd -m -G wheel -s /usr/bin/zsh -c <span class="pl-s"><span class="pl-pds">"
<span class="pl-c"><span class="pl-c">#</span> Set password</span> <span class="pl-c"><span class="pl-c">#</span> Set password</span>
passwd joker</pre> passwd joker</pre>
</div> </div>
<p> <ul>
<a <li>
href="https://wiki.archlinux.org/index.php/Systemd-homed" <a
rel="nofollow" href="https://wiki.archlinux.org/index.php/Systemd-homed"
>systemd-homed (optional if no useradd before)</a rel="nofollow"
>: >systemd-homed (optional if no useradd before)</a
</p> >:
</li>
<li>
<a href="https://systemd.io/HOME_DIRECTORY/" rel="nofollow"
>Home Directories</a
>
</li>
</ul>
<div class="highlight highlight-source-shell"> <div class="highlight highlight-source-shell">
<pre>systemctl <span class="pl-c1">enable</span> systemd-homed.service <pre>systemctl <span class="pl-c1">enable</span> systemd-homed.service

View File

@ -132,6 +132,9 @@ pacstrap -K /mnt btrfs-progs
# LVM (optional) # LVM (optional)
pacstrap -K /mnt lvm2 pacstrap -K /mnt lvm2
# zsh (optional)
pacstrap -K /mnt zsh
# Text editor # Text editor
pacstrap -K /mnt neovim pacstrap -K /mnt neovim
``` ```
@ -312,7 +315,8 @@ useradd -m -G wheel -s /usr/bin/zsh -c "The Joker" joker
passwd joker passwd joker
``` ```
[systemd-homed (optional if no useradd before)](https://wiki.archlinux.org/index.php/Systemd-homed): - [systemd-homed (optional if no useradd before)](https://wiki.archlinux.org/index.php/Systemd-homed):
- [Home Directories](https://systemd.io/HOME_DIRECTORY/)
```sh ```sh
systemctl enable systemd-homed.service systemctl enable systemd-homed.service