← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2039508] Re: Enable HISTTIMEFORMAT in /etc/skel/.bashrc by default

 

** Tags added: dcr-incoming

-- 
You received this bug notification because you are a member of
Debcrafters 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
Status in bash source package in Focal:
  New
Status in bash source package in Jammy:
  New
Status in bash source package in Noble:
  New
Status in bash source package in Oracular:
  Won't Fix

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