From cc27080f8a4b0ce5c219406d23543196d052b1bf Mon Sep 17 00:00:00 2001 From: yaroslav Date: Wed, 25 Mar 2026 11:02:15 +0200 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B4=D0=B0=D1=82=D0=B8=20zshrc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zshrc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 zshrc diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..8a2c04e --- /dev/null +++ b/zshrc @@ -0,0 +1,17 @@ +SAVEHIST=10000 # Save most-recent 1000 lines +HISTFILE=~/.zsh_history +setopt HIST_IGNORE_DUPS +setopt HIST_FIND_NO_DUPS +setopt HIST_REDUCE_BLANKS +setopt hist_verify + +export EDITOR=micro + +alias m="micro" +alias h="history 1" +alias hg="history 1 | grep " + +force_color_prompt=yes +autoload -U colors && colors +PS1="%{$fg[yellow]%}%n%{$reset_color%}@%{$fg[green]%}%m %{$fg[yellow]%}%(5~|%-1~/.../%3~|%4~) %{$reset_color%}% " +PS1="%{$fg[yellow]%}%n%{$reset_color%}@%{$fg[cyan]%}%m %{$fg[yellow]%}%(5~|%-1~/.../%3~|%4~) %{$reset_color%}% " \ No newline at end of file