Change history format.

This commit is contained in:
Gea-Suan Lin
2016-06-02 04:55:54 +08:00
parent 35e46c2556
commit a274250d07
2 changed files with 2 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ alias t="telnet"
export BLOCKSIZE="k" export BLOCKSIZE="k"
export EDITOR="vim" export EDITOR="vim"
export GIT_PAGER="less" export GIT_PAGER="less"
export HISTTIMEFORMAT="%y/%m/%d %T "
export HOMEBREW_NO_ANALYTICS=1 export HOMEBREW_NO_ANALYTICS=1
export LESS="-EfmrSwX" export LESS="-EfmrSwX"
export LSCOLORS="gxfxcxdxbxegedabagacad" export LSCOLORS="gxfxcxdxbxegedabagacad"

1
.zshrc
View File

@@ -112,6 +112,7 @@ export EDITOR="vim"
export GIT_PAGER="less" export GIT_PAGER="less"
export HISTFILE="$HOME/.history" export HISTFILE="$HOME/.history"
export HISTSIZE=2000 export HISTSIZE=2000
export HISTTIMEFORMAT="%y/%m/%d %T "
export HOMEBREW_NO_ANALYTICS=1 export HOMEBREW_NO_ANALYTICS=1
export LESS="-EfmrSwX" export LESS="-EfmrSwX"
export LSCOLORS="gxfxcxdxbxegedabagacad" export LSCOLORS="gxfxcxdxbxegedabagacad"