summary refs log tree commit diff
path: root/scripts/chroot-prompt.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-11 22:07:01 -0500
committerJune McEnroe <june@causal.agency>2020-02-11 22:28:39 -0500
commit252428f97aa6a8f4e5b612757ce96d2d0d37e2f3 (patch)
treeeccc953e0838dccb5912fcf4a408c8084ff304a5 /scripts/chroot-prompt.sh
parentExit focus and paste modes on err exit (diff)
downloadcatgirl-252428f97aa6a8f4e5b612757ce96d2d0d37e2f3.tar.gz
catgirl-252428f97aa6a8f4e5b612757ce96d2d0d37e2f3.zip
Add chroot target
Diffstat (limited to 'scripts/chroot-prompt.sh')
-rw-r--r--scripts/chroot-prompt.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/chroot-prompt.sh b/scripts/chroot-prompt.sh
new file mode 100644
index 0000000..3b43841
--- /dev/null
+++ b/scripts/chroot-prompt.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -eu
+
+printf 'Name: '
+read -r nick rest
+exec catgirl -n "$nick" -s "$nick" "$@"