Skip to main content
Maybe tell what duplications this is about
Link
ilkkachu
  • 147.9k
  • 16
  • 268
  • 441

Bash setting cannot work on duplicationsduplicate history lines doesn't work

added 114 characters in body
Source Link

Why does the Bash setting on duplication affairs not work? In .bashrc:

export HISTCONTROL=erasedups:ignoredups

It keeps recording ie. writing every command typed in CLI into .bash_history

EDIT :
That practical input is of any kind not just hand typing, but also of command history retrieval

So
@icarus advice is taken, as to get PROMPT_COMMAND variable cleaned up, but see the effect later in quite time
So confusing.. so please help out clarify the nitty gritty works

Why does the Bash setting on duplication affairs not work? In .bashrc:

export HISTCONTROL=erasedups:ignoredups

It keeps recording ie. writing every command typed in CLI into .bash_history

EDIT :
That practical input is of any kind not just hand typing, but also of command history retrieval

So confusing.. so please help out clarify the nitty gritty works

Why does the Bash setting on duplication affairs not work? In .bashrc:

export HISTCONTROL=erasedups:ignoredups

It keeps recording ie. writing every command typed in CLI into .bash_history

EDIT :
That practical input is of any kind not just hand typing, but also of command history retrieval
@icarus advice is taken, as to get PROMPT_COMMAND variable cleaned up, but see the effect later in quite time
So confusing.. so please help out clarify the nitty gritty works

added 115 characters in body
Source Link
Loading
deleted 2 characters in body
Source Link
jesse_b
  • 41.6k
  • 14
  • 108
  • 162
Loading
Source Link
Loading