bashrc: Add commands to history immediately
This commit is contained in:
parent
bec5fb2084
commit
2ef36eb976
1 changed files with 3 additions and 2 deletions
5
.bashrc
5
.bashrc
|
|
@ -11,9 +11,10 @@ set -o noclobber
|
|||
shopt -s checkwinsize
|
||||
shopt -s histappend
|
||||
HISTCONTROL=ignoreboth
|
||||
HISTSIZE=20000
|
||||
HISTFILESIZE=20000
|
||||
HISTSIZE=10000
|
||||
HISTFILESIZE=100000
|
||||
PROMPT_DIRTRIM=3
|
||||
PROMPT_COMMAND+=('history -a')
|
||||
|
||||
# Save and display timestamps for history
|
||||
HISTTIMEFORMAT="[%F %T] "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue