mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
add support for a HISTSIZE in bash
This commit is contained in:
parent
be532fd346
commit
0689c9c0ce
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
# put history in .bash
|
# put history in .bash
|
||||||
export HISTFILE="${HOME}/.bash/.history"
|
export HISTFILE="${HOME}/.bash/.history"
|
||||||
|
|
||||||
|
export HISTSIZE=1000
|
||||||
|
|
||||||
# don't put duplicate lines in the history. See bash(1) for more options
|
# don't put duplicate lines in the history. See bash(1) for more options
|
||||||
# don't overwrite GNU Midnight Commander's setting of `ignorespace'.
|
# don't overwrite GNU Midnight Commander's setting of `ignorespace'.
|
||||||
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
|
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
|
||||||
|
|
Loading…
Add table
Reference in a new issue