From a274250d07d33f2989840651f177ca5fcb961bb1 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Thu, 2 Jun 2016 04:55:54 +0800 Subject: [PATCH] Change history format. --- .bashrc | 1 + .zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 44733ae..f64b06c 100644 --- a/.bashrc +++ b/.bashrc @@ -32,6 +32,7 @@ alias t="telnet" export BLOCKSIZE="k" export EDITOR="vim" export GIT_PAGER="less" +export HISTTIMEFORMAT="%y/%m/%d %T " export HOMEBREW_NO_ANALYTICS=1 export LESS="-EfmrSwX" export LSCOLORS="gxfxcxdxbxegedabagacad" diff --git a/.zshrc b/.zshrc index 789105e..58b6bb4 100644 --- a/.zshrc +++ b/.zshrc @@ -112,6 +112,7 @@ export EDITOR="vim" export GIT_PAGER="less" export HISTFILE="$HOME/.history" export HISTSIZE=2000 +export HISTTIMEFORMAT="%y/%m/%d %T " export HOMEBREW_NO_ANALYTICS=1 export LESS="-EfmrSwX" export LSCOLORS="gxfxcxdxbxegedabagacad"