From b8d5cf5b393c6373b3dbfa5b1baf3e527de3e05b Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 31 Oct 2020 16:17:44 -0400 Subject: Fix up snipmenu and add a few more snippets. --- snips/bash_history | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 snips/bash_history (limited to 'snips/bash_history') diff --git a/snips/bash_history b/snips/bash_history new file mode 100644 index 0000000..a2dfbe7 --- /dev/null +++ b/snips/bash_history @@ -0,0 +1,7 @@ +if [ -n "$BASH" ] ; then + HISTFILE="$HOME/.bash_history" + HISTSIZE=10000 + HISTFILESIZE=10000 + shopt -s histappend + export PROMPT_COMMAND="set_my_title;history -a; history -c; history -r" +fi -- cgit v1.2.3