Добавлен вывод даты и времени в историю и Альяс на вызов fc -El вместо history

This commit is contained in:
airosa
2025-03-14 17:42:17 +03:00
parent d9a9e781c5
commit 7a90b9296c
+3
View File
@@ -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"