From c03750a2f317152979252708f80104e8392efccc Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 04:34:35 +0100 Subject: [PATCH] cr,cru --- shell/mount.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/shell/mount.sh b/shell/mount.sh index 0211131..7e715cf 100644 --- a/shell/mount.sh +++ b/shell/mount.sh @@ -82,16 +82,16 @@ mr() { done } -alias cr="\ -chroot \ -\"overlay/mount\" \ -" +cr() { + chroot \ + "overlay/mount" "${@}" +} -alias cru="\ -chroot \ ---userspec \"1000:1000\" \ -\"overlay/mount\" \ -" +cru() { + chroot \ + --userspec "1000:1000" \ + "overlay/mount" "${@}" +} ur() { local directory