Skip to content

Commit

Permalink
lib/history: remove redundant export for HISTIGNORE (#501)
Browse files Browse the repository at this point in the history
There does not seem to be no specific reason that we export HISTIGNORE
[1].  These lines were introduced in commit 53fb803 but only
HISTIGNORE had `export'.

[1] #500 (comment)
  • Loading branch information
akinomyoga authored Dec 10, 2023
1 parent e2917d6 commit 0d9a9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/history.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 0d9a9fd

Please sign in to comment.