2022-05-08 17:02:59 +07:00

37 lines
1.0 KiB
Bash
Executable File

#!/bin/zsh
autoload -U colors && colors
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/mat/.local/bin:/usr/bin/core_perl"
export EDITOR="vim"
export MUTT_EDITOR="vim"
export VISUAL="vim"
export VIMINIT="source ~/.config/vim/vimrc"
export SSH_KEY_PATH="~/.ssh/"
export TERM="xterm-kitty"
export TERMINAL="kitty"
export MOZ_ENABLE_WAYLAND=1
#НАВИГАЦИЯ
##авто cd
setopt autocd
setopt extended_glob
##автодополнение TAB
autoload -Uz compinit && compinit
_comp_options+=(globdots)
# Установка-снятие опций шелла
setopt notify globdots correct pushdtohome cdablevars autolist
setopt correctall autocd recexact longlistjobs
setopt autoresume histignoredups pushdsilent noclobber
setopt autopushd pushdminus extendedglob rcquotes mailwarning
unsetopt bgnice autoparamslash
unsetopt nomatch
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
unsetopt nomatch