mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
24 lines
550 B
Text
Executable file
24 lines
550 B
Text
Executable file
# put history in .bash
|
|
export HISTFILE="${HOME}/.bash/.history"
|
|
|
|
export HISTSIZE=1000
|
|
|
|
# ignore both duplicates and whitespace in history
|
|
export HISTCONTROL=ignoreboth
|
|
|
|
# save multiline history as one entry
|
|
shopt -s cmdhist
|
|
|
|
# append to the history file, don't overwrite it
|
|
shopt -s histappend
|
|
|
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
|
|
|
# check the window size after each command and, if necessary,
|
|
# update the values of LINES and COLUMNS.
|
|
shopt -s checkwinsize
|
|
|
|
# extended globing enabled
|
|
shopt -s extglob
|
|
|
|
ulimit -c 0
|