From 1b18a81a4a9b2ebe3a2b8e10571dee71da9b64bf Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 9 Jan 2016 17:43:43 +0100 Subject: ch: add shell-bind command Signed-off-by: Florian Pritz --- ch | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ch') 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 [command ...] # spawn a shell/run command in a chroot +# ch shell-bind [command ...] +# spawn a shell/run command in a chroot and bind $PWD from the host to /pwd in the chroot # ch rshell [command ...] # spawn a shell/run command in the master chroot # ch repack ... 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) -- cgit v1.2.3-24-g4f1b