diff --git a/.zshrc b/.zshrc index 1f9cc55..fb92c14 100644 --- a/.zshrc +++ b/.zshrc @@ -18,6 +18,7 @@ export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_us=$'\E[01;32m' + # setting for LC_COLLATE=C problem export LC_COLLATE="ru_RU.UTF-8" @@ -52,6 +53,7 @@ zstyle :compinstall filename '/home/VIVAIT/r.ainetdinov/.zshrc' HISTFILE=~/.histfile HISTSIZE=9999 SAVEHIST=9999 +HIST_STAMPS="yyyy-mm-dd hh:mm:ss" setopt extended_history # Добавляет в историю время выполнения комманды setopt inc_append_history # append history except that new line are added @@ -88,6 +90,7 @@ alias status='sudo systemctl status' alias reload='sudo systemctl reload' alias lessv='vim -R' alias ip='ip -c' +alias history="fc -El 1" #Color Grep and add yellow color export GREP_COLORS="mt=33"