Fix and improve dotfiles

This commit is contained in:
2019-01-15 11:34:48 +04:00
parent 64a675368c
commit 5b2844a2f0
10 changed files with 69 additions and 50 deletions

13
.zshrc
View File

@@ -28,10 +28,11 @@ setopt AUTO_CD
# Вопрос на автокоррекцию
# SPROMPT='zsh: Исправить '\''%R'\'' на '\''%r'\'' ? [Yes/No/Abort/Edit] '
setopt notify globdots pushdtohome cdablevars autolist # correct
setopt notify pushdtohome cdablevars autolist # correct globdots
setopt recexact longlistjobs
setopt autoresume histignoredups pushdsilent noclobber
setopt autopushd pushdminus rcquotes mailwarning extendedglob
setopt autopushd pushdminus rcquotes mailwarning
setopt no_bare_glob_qual no_extended_glob
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
@@ -83,6 +84,7 @@ autoload -U pick-web-browser
alias -s {html,htm,mht}=pick-web-browser
export LESS="-R"
export PAGER="less"
unsetopt nomatch
@@ -130,9 +132,10 @@ esac
# shopt -s extglob; if [[ -z $DISPLAY ]] && ! pgrep X &>/dev/null; then tput setaf 3; tput bold; read -t 5 -p 'Start X? [Y/n] '; tput sgr0; [[ -z $REPLY || $REPLY = [Yy]?([Ee][Ss]) ]] && startx; fi
export LANGUAGE="en_US:en_GB:en"
export PATH="$HOME/.dynamic-colors/bin:$PATH"
source $HOME/.dynamic-colors/completions/dynamic-colors.zsh
if [ -d $HOME/.dynamic-colors ]; then
export PATH="$HOME/.dynamic-colors/bin:$PATH"
source $HOME/.dynamic-colors/completions/dynamic-colors.zsh
fi
# Load all files from .shell/zshrc.d directory
if [ -d $HOME/.zshrc.d ]; then