This commit is contained in:
2020-05-26 11:33:42 -06:00
parent 6bb3e3f34f
commit ae73cc55d6
4 changed files with 40 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
# Manange Bash History ~/.bash_history
# Unlimited HISTSIZE and HISTFILESIZE
export HISTSIZE=
export HISTFILESIZE=
# Don't put duplicate lines or lines starting with space in the history.
export HISTCONTROL=ignoreboth
# Ignore commands
export HISTIGNORE="ls:dir:exit:sudo ls -Hhal"
# Time only shows up in 'history' command, and uses comments in actual ~/.bash_history file
# NO, default is fine...export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S "