#!/bin/sh
#
# demo - script(1) wrapper with shell config for better copy/pasta
#
# ---
# source: https://git.sr.ht/~akarle/dotfiles

cat <<EOM >/tmp/demo.env
export TERM=dumb
export PAGER=less
export HISTSIZE=10000
alias g="echo 'Use the full command during demo(1)!'"
PS1='\$ '
EOM

export ENV=/tmp/demo.env
script -c /bin/sh /tmp/demo.script
