Переход на использование zinit

This commit is contained in:
2022-12-17 19:17:36 +03:00
parent 723cf0b917
commit 6b44017c88
15 changed files with 417 additions and 218 deletions

25
15-options.zsh Normal file
View File

@@ -0,0 +1,25 @@
setopt AUTO_PUSHD # Push the current directory visited on the stack.
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
autoload -Uz allopt zed zmv zcalc colors is-at-least
colors
zmodload zsh/terminfo
autoload -Uz edit-command-line
zle -N edit-command-line
autoload -Uz select-word-style
select-word-style shell
if is-at-least 5.1; then
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic
fi
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
# Подсветка вывода основных команд
[[ -r /etc/grc.zsh ]] && source /etc/grc.zsh