Auto Update
This commit is contained in:
parent
9ae0d5b328
commit
9dbd6a9da5
1 changed files with 2 additions and 0 deletions
2
.bashrc
2
.bashrc
|
@ -9,6 +9,8 @@ shopt -s histappend
|
||||||
#export PROMPT_COMMAND="history -a"
|
#export PROMPT_COMMAND="history -a"
|
||||||
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
|
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
|
||||||
|
|
||||||
|
export HISTCONTROL=erasedups
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
case $- in
|
||||||
*i*) ;;
|
*i*) ;;
|
||||||
|
|
Loading…
Reference in a new issue