From 74865d8a3c0138f9b50ef16178b0470c91419083 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 23 Dec 2019 11:35:12 -0800 Subject: [PATCH] use a module for docker completion --- runcoms/zpreztorc | 4 +++- runcoms/zshrc | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index bea86a2..0c205fc 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -17,6 +17,7 @@ zstyle ':prezto:*:*' color 'yes' # Add additional directories to load prezto modules from # zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib +zstyle ':prezto:load' pmodule-dirs $HOME/.zsh/modules # Allow module overrides when pmodule-dirs causes module name collisions # zstyle ':prezto:load' pmodule-allow-overrides 'yes' @@ -45,7 +46,8 @@ zstyle ':prezto:load' pmodule \ 'ruby' \ 'tmux' \ 'history-substring-search' \ - 'syntax-highlighting' + 'syntax-highlighting' \ + 'docker-completion' # # Autosuggestions diff --git a/runcoms/zshrc b/runcoms/zshrc index 6493960..9ee990d 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -48,6 +48,4 @@ if type fzf > /dev/null; then alias fzf=fzf-tmux fi -fpath=(~/.zsh/completion $fpath) - [[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local"