Julio Biason
4 years ago
4 changed files with 13 additions and 4 deletions
@ -1,3 +1,12 @@ |
|||||||
# History size |
# History size |
||||||
HISTSIZE=20000 |
HISTSIZE=20000 |
||||||
HISTFILESIZE=40000 |
HISTFILESIZE=40000 |
||||||
|
|
||||||
|
# Avoid duplicates |
||||||
|
HISTCONTROL=ignoredups:erasedups |
||||||
|
|
||||||
|
# When the shell exits, append to the history file instead of overwriting it |
||||||
|
shopt -s histappend |
||||||
|
|
||||||
|
# After each command, append to the history file and reread it |
||||||
|
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" |
||||||
|
@ -1 +0,0 @@ |
|||||||
Subproject commit 0a3c1d8082e38a5ebadcba7bb3a608d88a9ff044 |
|
Loading…
Reference in new issue