From bda8accebf264adeb335acb93d747a8a1726aee1 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Thu, 1 Aug 2019 21:23:06 +0800 Subject: [PATCH] Update zsh fix git auto complete --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 31f01db..5251d3e 100644 --- a/.zshrc +++ b/.zshrc @@ -215,6 +215,9 @@ if [[ -f ~/.zshrc.local ]]; then source $HOME/.zshrc.local fi +fpath=(~/.zsh/completions $fpath) +autoload -U compinit && compinit + # space SPACESHIP_DIR_SHOW="${SPACESHIP_DIR_SHOW=true}" SPACESHIP_DIR_PREFIX="${SPACESHIP_DIR_PREFIX="in "}"