mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-09-21 02:17:11 +00:00
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:
parent
e2917d67fb
commit
0d9a9fd73a
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user