mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 12:10:42 +00:00
Use zsh when chrooting
This commit is contained in:
parent
dde5730647
commit
dce8e40e65
2 changed files with 5 additions and 5 deletions
|
@ -10,8 +10,8 @@ mount --make-rslave /mnt/gentoo/sys
|
|||
mount --rbind /dev /mnt/gentoo/dev
|
||||
mount --make-rslave /mnt/gentoo/dev
|
||||
|
||||
# Chroot with bash shell
|
||||
chroot /mnt/gentoo /bin/bash
|
||||
# Chroot with zsh shell
|
||||
chroot /mnt/gentoo /bin/zsh --login
|
||||
|
||||
# Unmount recursively mounted directories
|
||||
umount -l /mnt/gentoo/dev{/shm,/pts,}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue