Auto Update
This commit is contained in:
parent
c1c31018ac
commit
df00b36dad
1 changed files with 7 additions and 0 deletions
7
.bashrc
7
.bashrc
|
@ -2,6 +2,12 @@
|
||||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||||
# for examples
|
# for examples
|
||||||
|
|
||||||
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
|
HISTSIZE=5000
|
||||||
|
HISTFILESIZE=10000
|
||||||
|
shopt -s histappend
|
||||||
|
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
case $- in
|
||||||
*i*) ;;
|
*i*) ;;
|
||||||
|
@ -75,3 +81,4 @@ fi
|
||||||
if [ -f ~/git/dotfiles/.colors ] ; then
|
if [ -f ~/git/dotfiles/.colors ] ; then
|
||||||
. ~/git/dotfiles/.colors
|
. ~/git/dotfiles/.colors
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue