From aa10d00f7aa1223c9b2c0053c5424c26233553fe Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sat, 9 Apr 2022 23:56:46 -0400 Subject: [PATCH] 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!! --- bin/demo | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/demo b/bin/demo index fcd9268..2a947fe 100755 --- a/bin/demo +++ b/bin/demo @@ -3,6 +3,7 @@ cat </tmp/demo.env export TERM=dumb export PAGER=cat +export HISTSIZE=10000 alias g="echo 'Use the full command during demo(1)!'" PS1='\$ ' EOM -- libgit2 1.1.1