mirror of
https://github.com/fergalmoran/settings-webstorm.git
synced 2025-12-22 09:47:41 +00:00
History mod in bashrc
This commit is contained in:
9
bashrc
9
bashrc
@@ -124,3 +124,12 @@ export WORKON_HOME=~/.virtualenvs
|
|||||||
. /usr/local/bin/virtualenvwrapper.sh
|
. /usr/local/bin/virtualenvwrapper.sh
|
||||||
. ~/dotfiles/z.sh
|
. ~/dotfiles/z.sh
|
||||||
source ~/.bash_prompt
|
source ~/.bash_prompt
|
||||||
|
|
||||||
|
|
||||||
|
export HISTCONTROL=ignoredups:erasedups # no duplicate entries
|
||||||
|
export HISTSIZE=100000 # big big history
|
||||||
|
export HISTFILESIZE=100000 # big big history
|
||||||
|
shopt -s histappend # append to history, don't overwrite it
|
||||||
|
|
||||||
|
# Save and reload the history after each command finishes
|
||||||
|
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
|
||||||
|
|||||||
Reference in New Issue
Block a user