Re: selective command history

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

Found it!

On 17 September 2010 11:47, suvayu ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
>> Set HISTIGNORE to 'ignorespace' and prefix any commands you want to
>> ignore with a space.
>>
>
> That didn't work for me either. :(
>

Set HISTCONTROL to "ignorespace" to achieve the above. :)

And if you want to ignore duplicate entries, then you can use
"ignoredupes". To choose both simultaneously, use "ignoreboth".

Hope this helps. :)

Thank you all who replied. Your replies pointed me in the right direction.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux