#!/bin/bash -eu
# run chatgpt_loop in an xterm
if q pgrep chatgpt_loop; then
	:
else
	xterm -e 'i chat chatgpt_loop' &
fi
vi -o ~/chat/misc*.chat ~/chat/main*.chat
