Reduce prezto deps.

This commit is contained in:
David Tomaschik
2019-09-26 23:43:31 -07:00
parent 55064a548d
commit 1b2f75ca47
10 changed files with 51 additions and 19 deletions

View File

@@ -9,11 +9,6 @@ bindkey -v
# Allow core files
ulimit -c unlimited
# Completion
zstyle :compinstall filename "${HOME}/.zshrc"
zstyle ':completion:*' users root ${USER}
autoload -Uz compinit && compinit
DIRSTACKSIZE=16
case $TERM in
xterm*)
@@ -40,7 +35,6 @@ unsetopt cdablevars
# Deduplicate the path
typeset -U path
# Keybindings
bindkey '^[[A' history-search-backward
bindkey '^[[B' history-search-forward
@@ -55,12 +49,17 @@ bindkey '^h' backward-delete-char
bindkey '^w' backward-kill-word
bindkey '^r' history-incremental-search-backward
# Source extras and aliases if interactive
if [[ $- == *i* ]] ; then
if [[ -e $HOME/.aliases ]] ; then source $HOME/.aliases ; fi
# zsh-only-ism to avoid error if glob doesn't expand
for file in $HOME/.zshrc.d/*(N) ; do source "$file" ; done
# extra completions
fpath=(~/.zshrc.completions $fpath)
# Completion
zstyle :compinstall filename "${HOME}/.zshrc"
zstyle ':completion:*' users root ${USER}
autoload -Uz compinit && compinit
fi
# In case ack is named ack-grep