diff options
Diffstat (limited to 'snips/bash_history')
| -rw-r--r-- | snips/bash_history | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
