Page 1 of 1

[SOLVED] HISTCONTROL

PostPosted: Jun 26th, '13, 17:22
by Per
I've tried to set HISTCONTROL to erasedups I've added the line HISTCONTROL=erasedups to both ~/.bash_profile and ~/.bashrc. In the virtul consoles ([CTRL]+[ALT]+[Fn]) HISTCONTROL is set to erasedups. In my preferred terminal emulator Konsole, however HISTCONTROL is set to ignoredups. Terminology and Xterm behaves like Konsole, while Eterm has HISTCONTROL set to erasedups.

Re: HISTCONTROL

PostPosted: Jun 27th, '13, 02:20
by djennings
Try setting it in /etc/profile.d/95bash-extras.sh

Re: HISTCONTROL

PostPosted: Jun 27th, '13, 06:19
by Per
Works, thanks.