Додати zshrc

This commit is contained in:
2026-03-25 11:02:15 +02:00
parent be3923e051
commit cc27080f8a
+17
View File
@@ -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%}% "