summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc10
1 files changed, 6 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index ff4fefc..36503a3 100644
--- a/.zshrc
+++ b/.zshrc
@@ -498,10 +498,12 @@ chshell() {
}
chbuild() {
- __chrootalias $1 || return
- chrootdir="$__CHROOTS/$chroot"
- linux${chroot_arch} sudo makechrootpkg -r "$chrootdir" -- -f
- [[ -e namcap.log ]] && cat namcap.log
+ for i; do
+ __chrootalias $i || return
+ chrootdir="$__CHROOTS/$chroot"
+ linux${chroot_arch} sudo makechrootpkg -r "$chrootdir" -- -f
+ [[ -e namcap.log ]] && cat namcap.log
+ done
}
chinstall() {