etc/dot/file/zshrc

39 lines
860 B
Bash
Raw Permalink Normal View History

2020-11-04 02:03:20 +03:00
#!/bin/sh
. $HOME/.shrc
2021-12-04 21:57:51 +03:00
#autoload -Uz compinit promptinit
#compinit
#promptinit
2020-11-04 02:03:20 +03:00
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
2022-11-13 12:23:06 +03:00
setopt +o nomatch
2020-11-04 02:03:20 +03:00
setopt notify
setopt hash_list_all
setopt nohup
setopt nobeep
setopt noglobdots
setopt noshwordsplit
test -r "$LOGIN" && . "$LOGIN"
2022-11-13 12:23:06 +03:00
export PROMPT="; "
2020-11-04 02:03:20 +03:00
test -r "$SETENV" && . "$SETENV" && setenv zsh