aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorTristan Williams <tgwil@tgwil.net>2024-10-13 03:41:28 -0400
committerTristan Williams <tgwil@tgwil.net>2024-10-13 03:41:28 -0400
commit5c56b0b753899221578626560e7599dd0a385aac (patch)
tree3cca0f532c2ec6a580069a6bde23ed432babdd19 /home
parentAdd ~/.bash_aliases (diff)
downloaddotfiles.core-5c56b0b753899221578626560e7599dd0a385aac.tar.gz
dotfiles.core-5c56b0b753899221578626560e7599dd0a385aac.tar.bz2
dotfiles.core-5c56b0b753899221578626560e7599dd0a385aac.zip
.bashrc: set bash history options
Diffstat (limited to 'home')
-rw-r--r--home/.bashrc14
1 files changed, 14 insertions, 0 deletions
diff --git a/home/.bashrc b/home/.bashrc
index 4880780..627ba24 100644
--- a/home/.bashrc
+++ b/home/.bashrc
@@ -46,3 +46,17 @@ export GPG_TTY
46######################################################################## 46########################################################################
47[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] \ 47[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] \
48 && source /usr/local/share/bash-completion/bash_completion.sh 48 && source /usr/local/share/bash-completion/bash_completion.sh
49
50
51########################################################################
52## History
53########################################################################
54# Don't put duplicates or lines starting with spaces in history.
55HISTCONTROL=ignoreboth
56
57# Append to history file; don't overwrite
58shopt -s histappend
59
60# History size
61HISTSIZE=100000
62HISTFILESIZE=100000