addition to the core plugins. You can reset this array to disable(!) loading
of these default plugins. Currently these plugins are loaded by default:
* byebye
- * completion
* correction
* history
* ls
if ! typeset +m axzsh_default_plugins | fgrep array >/dev/null 2>&1; then
axzsh_default_plugins=(
byebye
- completion
correction
history
ls
--- /dev/null
+# AX-ZSH: Alex' Modular ZSH Configuration
+# 05_fpath.zprofile: Setup AX-ZSH "fpath"
+
+typeset -xTU AXZSH_FPATH axzsh_fpath
--- /dev/null
+# AX-ZSH: Alex' Modular ZSH Configuration
+# 05_fpath.zshrc: Setup AX-ZSH "fpath"
+
+typeset -xTU AXZSH_FPATH axzsh_fpath
+
+[[ -n "$AXZSH_FPATH" ]] && fpath=($axzsh_fpath $fpath)
--- /dev/null
+# AX-ZSH: Alex' Modular ZSH Configuration
+# 50_completion.zshrc: Setup completion
+
+autoload -U compinit
+
+setopt completealiases
+
+zstyle ':completion:*' list-colors ''
+zstyle ':completion:*' menu select
+zstyle ':completion:*' special-dirs true
+
+# Use caching so that commands like apt and dpkg completions are useable
+zstyle ':completion::complete:*' use-cache 1
+zstyle ':completion::complete:*' cache-path "$ZSH_CACHE_DIR"
+
+# Save the location of the current completion dump file.
+if [[ -z "$ZSH_COMPDUMP" ]]; then
+ ZSH_COMPDUMP="${ZDOTDIR:-$HOME}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
+fi
+
+# Initialize ZSH completion system
+compinit -d "$ZSH_COMPDUMP"
+++ /dev/null
-# AX-ZSH: Alex' Modular ZSH Configuration
-# completion.zshrc: Setup completion
-
-# Make sure that "compinit" is available
-type compinit >/dev/null || return
-
-# Save the location of the current completion dump file.
-if [[ -z "$ZSH_COMPDUMP" ]]; then
- ZSH_COMPDUMP="${ZDOTDIR:-$HOME}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
-fi
-
-# Initialize ZSH completion system
-compinit -d "$ZSH_COMPDUMP"
+++ /dev/null
-# AX-ZSH: Alex' Modular ZSH Configuration
-# completion.zshrc: Setup completion
-
-autoload -U compinit
-
-setopt completealiases
-
-zstyle ':completion:*' list-colors ''
-zstyle ':completion:*' menu select
-zstyle ':completion:*' special-dirs true
-
-# Use caching so that commands like apt and dpkg completions are useable
-zstyle ':completion::complete:*' use-cache 1
-zstyle ':completion::complete:*' cache-path "$ZSH_CACHE_DIR"
--- /dev/null
+# AX-ZSH: Alex' Modular ZSH Configuration
+# homebrew.zprofile -- Setup Homebrew Package Manager
+
+# Make sure that "brew(1)" is installed
+(( $+commands[brew] )) || return
+
+[[ -d "/usr/local/share/zsh-completions" ]] \
+ && axzsh_fpath=(/usr/local/share/zsh-completions $axzsh_fpath)
+++ /dev/null
-# AX-ZSH: Alex' Modular ZSH Configuration
-# homebrew.zshrc -- Setup Homebrew Package Manager
-
-# Make sure that "brew(1)" is installed
-(( $+commands[brew] )) || return
-
-[[ -d "/usr/local/share/zsh-completions" ]] \
- && fpath=(/usr/local/share/zsh-completions $fpath)