Public bug reported:

Hi,

/etc/skel/.bashrc has the following:

| # don't put duplicate lines or lines starting with space in the history.
| # See bash(1) for more options
| HISTCONTROL=ignoreboth
|
| # append to the history file, don't overwrite it
| shopt -s histappend
|
| # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
| HISTSIZE=1000
| HISTFILESIZE=2000

It would be nice to also include HISTTIMEFORMAT. Something like
`HISTTIMEFORMAT='%F %T '`. It helps to serve as a little audit trail.

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: canonical-is

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/2039508

Title:
  Enable HISTTIMEFORMAT in /etc/skel/.bashrc by default

Status in bash package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  /etc/skel/.bashrc has the following:

  | # don't put duplicate lines or lines starting with space in the history.
  | # See bash(1) for more options
  | HISTCONTROL=ignoreboth
  |
  | # append to the history file, don't overwrite it
  | shopt -s histappend
  |
  | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
  | HISTSIZE=1000
  | HISTFILESIZE=2000

  It would be nice to also include HISTTIMEFORMAT. Something like
  `HISTTIMEFORMAT='%F %T '`. It helps to serve as a little audit trail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/2039508/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to