etc/dot/file/zshrc
2022-11-13 14:23:06 +05:00

38 lines
860 B
Bash

#!/bin/sh
. $HOME/.shrc
#autoload -Uz compinit promptinit
#compinit
#promptinit
zstyle ':completion:*' menu select
zstyle ':completion:*:manuals' separate-sections true
zstyle ':completion:*:manuals.*' insert-sections true
zstyle ':completion:*:man:*' menu yes select
setopt correct
zshaddhistory() { whence ${${(z)1}[1]} >| /dev/null || return 1 }
HISTFILE="$HOME/.zhistory"
HISTSIZE=10000
SAVEHIST="$HISTSIZE"
setopt menu_complete
setopt append_history
setopt extended_history
setopt inc_append_history
setopt share_history
setopt hist_ignore_all_dups
setopt hist_ignore_space
setopt hist_reduce_blanks
setopt no_hist_beep
setopt auto_cd
setopt +o nomatch
setopt notify
setopt hash_list_all
setopt nohup
setopt nobeep
setopt noglobdots
setopt noshwordsplit
test -r "$LOGIN" && . "$LOGIN"
export PROMPT="; "
test -r "$SETENV" && . "$SETENV" && setenv zsh