From deab2de981f236450b9c397c5eef7ed665eb6744 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 17 Jan 2017 12:01:56 +0100 Subject: zsh: Don’t run compinit as zplug handles it --- tag-zsh/config/zsh/zshrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tag-zsh/config/zsh') diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 1d37e8e..6ca2768 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -1,7 +1,7 @@ # -*- mode: sh; -*- source $ZPLUG_HOME/init.zsh -zplug "zsh-users/zsh-completions" +zplug "zsh-users/zsh-completions", depth:1, defer:0 zplug "Tarrasch/zsh-autoenv", as:plugin zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install" zplug "caarlos0/zsh-open-pr", as:plugin @@ -143,11 +143,6 @@ zplug load # General configuration setopt auto_cd # Change directories without `cd` -if zplug check zsh-users/zsh-completions -then - autoload -U compinit && compinit -fi - if [[ -n $commands[hub] ]] then alias git=hub -- cgit 1.4.1