Opened 3 years ago

Last modified 2 years ago

#17497 assigned enhancement

shell: HISTCONTROL=ignoreboth

Reported by: danboid Owned by:
Priority: normal Milestone: Unscheduled
Component: Applications/Terminal Version: R1/Development
Keywords: default vars Cc:
Blocked By: Blocking:
Platform: All

Description

I would like Haiku to default to using

HISTCONTROL=ignoreboth

instead of

HISTCONTROL=ignoredups

because I make regular use of the ability not to have my commands logged in the bash history by prefixing sensitive ones with a space, mainly when I have to enter passwords on the command line.

Change History (2)

comment:1 by jackburton, 2 years ago

Owner: jackburton removed
Status: newassigned

comment:2 by diver, 2 years ago

Seems handy. HISTCONTROL is defined here: https://cgit.haiku-os.org/haiku/tree/data/etc/profile#n27

Note: See TracTickets for help on using tickets.