News for hackers. Stuff that matters.
Re:I quit my job to work full time on my open source project by cuu508 on Wednesday January 10, 2024 @01:15AM (#38936849)
History can also contain potentially sensitive things like hostnames of non-public systems, usernames, filenames, URLs. I would not want that stuff to hang around indefinitely.
Re:I quit my job to work full time on my open source project by berkes on Wednesday January 10, 2024 @02:27AM (#38937259)
This is one thing that atuin announced to solve: ignore patterns, keys, passwords. From the announcement I got that it's going to be far more useful than HISTIGNORE. Both out of the box and in abilities.
Re:I quit my job to work full time on my open source project by CraigJPerry on Wednesday January 10, 2024 @01:52AM (#38937065)
You can tell your shell to ignore commands started with a space

    HISTCONTROL=ignorespace
Or you can use HISTIGNORE to always ignore specific patterns.
Re:I quit my job to work full time on my open source project by tandav on Wednesday January 10, 2024 @12:06PM (#38940721)
You can also use

    HISTCONTROL=ignoreboth
to use both ignorespace and ignoredups