Додати zshrc
This commit is contained in:
@@ -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%}% "
|
||||||
Reference in New Issue
Block a user