summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xch3
1 files changed, 3 insertions, 0 deletions
diff --git a/ch b/ch
index 11bb986..d0e536d 100755
--- a/ch
+++ b/ch
@@ -14,6 +14,8 @@
# ch list lists all existing master chroots
# ch shell <id> [command ...]
# spawn a shell/run command in a chroot
+# ch shell-bind <id> [command ...]
+# spawn a shell/run command in a chroot and bind $PWD from the host to /pwd in the chroot
# ch rshell <id> [command ...]
# spawn a shell/run command in the master chroot
# ch repack <id> ... repack (makepkg -R)
@@ -207,6 +209,7 @@ case $command in
done
;;
shell) chshell "$@";;
+ shell-bind) chshell --bind-ro="$PWD:/pwd" "$@";;
rshell) chrshell "$@";;
install) chinstall "$@";;
list)