summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index b1aff9c..e165dea 100644
--- a/.zshrc
+++ b/.zshrc
@@ -423,6 +423,7 @@ chshell() {
chbuild() {
chrootdir="$__CHROOTS/$1"
linux${1[1,2]} sudo makechrootpkg -r "$chrootdir" -- -f
+ cat namcap.log
}
chinstall() {
@@ -455,9 +456,11 @@ chupdate() {
echo ":: Cleaning up ..."
chclean
else
- chrootdir="$__CHROOTS/$1"
- echo ":: Updating $1"
- linux${1[1,2]} sudo mkarchroot -u "$chrootdir/root" -- --noconfirm
+ for id in "$@"; do
+ chrootdir="$__CHROOTS/$id"
+ echo ":: Updating $id"
+ linux${id[1,2]} sudo mkarchroot -u "$chrootdir/root" -- --noconfirm
+ done
fi
}