Improve bash history, add persistent history file

This commit is contained in:
2024-04-10 16:47:36 +00:00
parent 6246e75d81
commit f7b5147450
2 changed files with 25 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ export HISTSIZE=-1
#{- SHELL OPTIONS -}#
# Append history to $HISTFILE when bash exits, instead of overwriting it
shopt -s histappend
#shopt -s histappend
# Attempt to preserve multi-line commands in history with embedded newlines
shopt -s cmdhist lithist