[SOLVED] HISTCONTROL

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] HISTCONTROL

Postby Per » Jun 26th, '13, 17:22

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.
Last edited by Per on Jun 27th, '13, 06:20, edited 2 times in total.
Per
 
Posts: 24
Joined: Jul 30th, '11, 17:58

Re: HISTCONTROL

Postby djennings » Jun 27th, '13, 02:20

Try setting it in /etc/profile.d/95bash-extras.sh
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: HISTCONTROL

Postby Per » Jun 27th, '13, 06:19

Works, thanks.
Per
 
Posts: 24
Joined: Jul 30th, '11, 17:58


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest