summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-07-20 21:27:24 -0400
committerJune McEnroe <june@causal.agency>2021-07-20 21:27:24 -0400
commit78a020df8242ae5e4e2ac210bc8d85dc27b43bb6 (patch)
treeac567191ca18da1ace5a416d0c502bb64b4a6a4f
parentFreeBSD: Revert caph_enter(3) call to cap_enter(2) (diff)
downloadcatgirl-78a020df8242ae5e4e2ac210bc8d85dc27b43bb6.tar.gz
catgirl-78a020df8242ae5e4e2ac210bc8d85dc27b43bb6.zip
chroot: Avoid passing paths to -s
-rw-r--r--scripts/chroot-prompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/chroot-prompt.sh b/scripts/chroot-prompt.sh
index 1e626cf..2b34426 100644
--- a/scripts/chroot-prompt.sh
+++ b/scripts/chroot-prompt.sh
@@ -4,4 +4,4 @@ set -eu
 printf 'Name: '
 read -r nick rest
 printf '%s %s\n' "$nick" "$SSH_CLIENT" >>nicks.log
-exec catgirl -K -n "$nick" -s "$nick" -u "${SSH_CLIENT%% *}" "$@"
+exec catgirl -K -n "$nick" -s "${nick##*/}" -u "${SSH_CLIENT%% *}" "$@"
title='2022-07-08 17:22:36 -0400'>2022-07-08Remove TOURJune McEnroe 2022-07-03Add The Bone Shard EmperorJune McEnroe 2022-06-25Bump xterm font size to 12June McEnroe 2022-06-10Handle subshells (and functions) inside substitutionsJune McEnroe 2022-06-10Switch to jorts Install scriptJune McEnroe 2022-06-08Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe