commit aa10d00f7aa1223c9b2c0053c5424c26233553fe (patch)
parent 8206649651aed66a1f87abbb04f0ecd2a54e1de4
Author: Alex Karle <alex@alexkarle.com>
Date: Sat, 9 Apr 2022 23:56:46 -0400
bin/demo: Export HISTSIZE variable to avoid history truncation
If other people used this tool, it'd be better to just not save to
history at all, but since it's just me, I can have my cake and eat it
too--put the demo commands in the histfile but also don't truncate it to
the default really short size!!
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/bin/demo b/bin/demo
@@ -3,6 +3,7 @@
cat <<EOM >/tmp/demo.env
export TERM=dumb
export PAGER=cat
+export HISTSIZE=10000
alias g="echo 'Use the full command during demo(1)!'"
PS1='\$ '
EOM