summary refs log tree commit diff
path: root/scripts/chroot-prompt.sh
blob: 3b438411c439707994974c625130974de6936a8c (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
set -eu

printf 'Name: '
read -r nick rest
exec catgirl -n "$nick" -s "$nick" "$@"
='logmsg'> 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe Absolutely indiscriminately. 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 For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe