mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
Reduce prezto deps.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user