diff --git a/lib/install.sh b/lib/install.sh new file mode 100644 index 0000000..f9e804f --- /dev/null +++ b/lib/install.sh @@ -0,0 +1,3 @@ +setup_myzsh() { + rm -f ~/.zcompdump; compinit +} diff --git a/my.zsh b/my.zsh index 9ec068c..9fe1fca 100644 --- a/my.zsh +++ b/my.zsh @@ -41,6 +41,7 @@ setopt HIST_IGNORE_ALL_DUPS myzsh=${MYZSH:-$HOME} fpath=($myzsh/lib/functions/{*.zsh,*.zwc}(N) $fpath) +fpath=($myzsh/zsh-completions/src $fpath) # Autoload functions that have the executable bit on. @@ -71,3 +72,6 @@ source $current_path/zsh-autosuggestions/autosuggestions.zsh # Load ZAW source $current_path/zaw/zaw.zsh + +# Load zsh-completions +source $current_path/zsh-completions/zsh-completions.plugin.zsh