diff --git a/.gitignore b/.gitignore index 98d1b57..8ccb752 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ zsh/.config/zsh/history **/.zsh_history **/.zsh_sessions +**/completions/* diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index de829ad..14f5efd 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -3,8 +3,8 @@ setopt appendhistory setopt sharehistory setopt incappendhistory - -autoload -Uz compinit +fpath=("$ZDOTDIR/completions" $fpath) +autoload -Uz compinit; compinit zstyle ':completion:*' menu select zmodload zsh/complist # compinit