use a module for docker completion

main
Alpha Chen 5 years ago
parent 389c2dad42
commit bcee60a5f5
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -17,6 +17,7 @@ zstyle ':prezto:*:*' color 'yes'
# Add additional directories to load prezto modules from # Add additional directories to load prezto modules from
# zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib # 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 # Allow module overrides when pmodule-dirs causes module name collisions
# zstyle ':prezto:load' pmodule-allow-overrides 'yes' # zstyle ':prezto:load' pmodule-allow-overrides 'yes'
@ -45,7 +46,8 @@ zstyle ':prezto:load' pmodule \
'ruby' \ 'ruby' \
'tmux' \ 'tmux' \
'history-substring-search' \ 'history-substring-search' \
'syntax-highlighting' 'syntax-highlighting' \
'docker-completion'
# #
# Autosuggestions # Autosuggestions

@ -48,6 +48,4 @@ if type fzf > /dev/null; then
alias fzf=fzf-tmux alias fzf=fzf-tmux
fi fi
fpath=(~/.zsh/completion $fpath)
[[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local" [[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local"

Loading…
Cancel
Save