43 lines
2.4 KiB
Plaintext
43 lines
2.4 KiB
Plaintext
function {
|
|
0=${(%):-%x}
|
|
local staticfile=${0:A}
|
|
[[ -e ${staticfile} ]] || return 1
|
|
if [[ ! -s ${staticfile}.zwc || ${staticfile} -nt ${staticfile}.zwc ]] ||
|
|
! zcompile -t ${staticfile}.zwc &>/dev/null; then
|
|
builtin autoload -Uz zrecompile
|
|
zrecompile -pq ${staticfile}
|
|
fi
|
|
}
|
|
fpath+=( "$HOME/.cache/antidote/zsh-users/zsh-syntax-highlighting" )
|
|
source "$HOME/.cache/antidote/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/zsh-users/zsh-autosuggestions" )
|
|
source "$HOME/.cache/antidote/zsh-users/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/zsh-users/zsh-history-substring-search" )
|
|
source "$HOME/.cache/antidote/zsh-users/zsh-history-substring-search/zsh-history-substring-search.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/mattmc3/zephyr/plugins/color" )
|
|
source "$HOME/.cache/antidote/mattmc3/zephyr/plugins/color/color.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/mattmc3/zephyr/plugins/helper" )
|
|
source "$HOME/.cache/antidote/mattmc3/zephyr/plugins/helper/helper.plugin.zsh"
|
|
if is-macos; then
|
|
fpath+=( "$HOME/.cache/antidote/mattmc3/zephyr/plugins/macos" )
|
|
source "$HOME/.cache/antidote/mattmc3/zephyr/plugins/macos/macos.plugin.zsh"
|
|
fi
|
|
fpath+=( "$HOME/.cache/antidote/getantidote/use-omz" )
|
|
source "$HOME/.cache/antidote/getantidote/use-omz/use-omz.plugin.zsh"
|
|
if ! (( $+functions[zsh-defer] )); then
|
|
fpath+=( "$HOME/.cache/antidote/romkatv/zsh-defer" )
|
|
source "$HOME/.cache/antidote/romkatv/zsh-defer/zsh-defer.plugin.zsh"
|
|
fi
|
|
fpath+=( "$HOME/.cache/antidote/ohmyzsh/ohmyzsh/plugins/sudo" )
|
|
zsh-defer source "$HOME/.cache/antidote/ohmyzsh/ohmyzsh/plugins/sudo/sudo.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/ohmyzsh/ohmyzsh/plugins/aliases" )
|
|
zsh-defer source "$HOME/.cache/antidote/ohmyzsh/ohmyzsh/plugins/aliases/aliases.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/joshskidmore/zsh-fzf-history-search" )
|
|
source "$HOME/.cache/antidote/joshskidmore/zsh-fzf-history-search/zsh-fzf-history-search.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/zsh-hooks/zsh-hooks" )
|
|
source "$HOME/.cache/antidote/zsh-hooks/zsh-hooks/zsh-hooks.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/mattmc3/zfunctions" )
|
|
source "$HOME/.cache/antidote/mattmc3/zfunctions/zfunctions.plugin.zsh"
|
|
fpath+=( "$HOME/.cache/antidote/zdharma-continuum/fast-syntax-highlighting" )
|
|
zsh-defer source "$HOME/.cache/antidote/zdharma-continuum/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh"
|