From 2c00847807f4201774ece23f1adfdf395d126601 Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Wed, 22 Nov 2023 16:39:37 +0100 Subject: [PATCH] bashrc: Set HISTTIMEFORMAT --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index 375387b..c16633f 100644 --- a/.bashrc +++ b/.bashrc @@ -14,6 +14,9 @@ export HISTSIZE=20000 export HISTFILESIZE=20000 export PROMPT_DIRTRIM=3 +# Save and display timestamps for history +HISTTIMEFORMAT="[%F %T] " + # Color output and default options export GREP_OPTS='--color=auto' export LS_OPTS='--color=auto -hFN --group-directories-first'