lib/history: remove redundant export for HISTIGNORE (#501)

There does not seem to be no specific reason that we export HISTIGNORE
[1].  These lines were introduced in commit 53fb8037 but only
HISTIGNORE had `export'.

[1] https://github.com/ohmybash/oh-my-bash/discussions/500#discussioncomment-7676355
This commit is contained in:
Koichi Murase 2023-12-11 07:00:35 +09:00 committed by GitHub
parent e2917d67fb
commit 0d9a9fd73a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ export HISTFILESIZE=
HISTCONTROL="erasedups:ignoreboth"
# Don't record some commands
export HISTIGNORE="exit:ls:bg:fg:history:clear"
HISTIGNORE="exit:ls:bg:fg:history:clear"
# Enable incremental history search with up/down arrows (also Readline goodness)
# Learn more about this here: https://codeinthehole.com/tips/the-most-important-command-line-tip-incremental-history-searching-with-inputrc/