From 65ac53cf94c222afa937001924c3cc86f6958bbd Mon Sep 17 00:00:00 2001 From: Jorge Vallecillo Date: Wed, 8 Aug 2018 09:25:29 -0600 Subject: [PATCH] Add datetime execution to each command in history --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index 30878ad..6841e8a 100755 --- a/.bashrc +++ b/.bashrc @@ -116,6 +116,7 @@ _isroot=false export HISTFILESIZE=${HISTSIZE} # bash will remember N commands export HISTCONTROL=ignoreboth # ingore duplicates and spaces export HISTIGNORE='&:ls:ll:la:cd:exit:clear:history' + export HISTTIMEFORMAT="%d/%m/%y %T " #}}} # COLORED MANUAL PAGES {{{ # @see http://www.tuxarena.com/?p=508