From 0d9a9fd73ad6e4142b4895066b95128d39ceaa79 Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Mon, 11 Dec 2023 07:00:35 +0900 Subject: [PATCH] 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 --- lib/history.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/history.sh b/lib/history.sh index 40286c1..4e32aa4 100644 --- a/lib/history.sh +++ b/lib/history.sh @@ -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/