inital commit

This commit is contained in:
2026-03-23 23:50:58 +00:00
commit 503c232b30
110 changed files with 7218 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
_create_default() {
cat <<< "# .zsh_plugins.txt
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-autosuggestions
zsh-users/zsh-history-substring-search
mattmc3/zephyr path:plugins/color
mattmc3/zephyr path:plugins/helper
getantidote/use-omz
joshskidmore/zsh-fzf-history-search
zsh-hooks/zsh-hooks
" > ${1}
}
if [[ ! -d $HOME/.antidote ]]; then
git clone --depth 1 https://github.com/mattmc3/antidote.git $HOME/.antidote
fi
# Set the root name of the plugins files (.txt and .zsh) antidote will use.
zsh_plugins=${DOTFILES}/antidote/zsh_plugins
# Ensure the .zsh_plugins.txt file exists so you can add plugins.
[[ -f ${zsh_plugins}.txt ]] || _create_default ${zsh_plugins}.txt
# Lazy-load antidote from its functions directory.
fpath=($HOME/.antidote/functions $fpath)
autoload -Uz antidote
zstyle ':antidote:bundle' use-friendly-names 'yes'
zstyle ':antidote:static' file "${DOTFILES}/antidote/zsh_plugins"
zstyle ':antidote:static' zcompile 'yes'
if [[ ! ${zsh_plugins} -nt ${zsh_plugins}.txt ]]; then
echo "${$(antidote bundle <${zsh_plugins}.txt)//source/call_file}" >|${zsh_plugins}
#antidote bundle <${zsh_plugins}.txt >|${zsh_plugins}.compile
fi
call_file ${zsh_plugins} "antidote_plugin"
ZSH=$(antidote path ohmyzsh/ohmyzsh)
+47
View File
@@ -0,0 +1,47 @@
function {
0=${(%):-%x}
local staticfile=${0:A}
[[ -e ${staticfile} ]] || return 1
if [[ ! -s ${staticfile}.zwc || ${staticfile} -nt ${staticfile}.zwc ]]; then
builtin autoload -Uz zrecompile
zrecompile -pq ${staticfile}
fi
}
fpath+=( "$HOME/Library/Caches/antidote/zsh-users/zsh-syntax-highlighting" )
call_file "$HOME/Library/Caches/antidote/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/zsh-users/zsh-autosuggestions" )
call_file "$HOME/Library/Caches/antidote/zsh-users/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/zsh-users/zsh-history-substring-search" )
call_file "$HOME/Library/Caches/antidote/zsh-users/zsh-history-substring-search/zsh-history-substring-search.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/mattmc3/zephyr/plugins/color" )
call_file "$HOME/Library/Caches/antidote/mattmc3/zephyr/plugins/color/color.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/mattmc3/zephyr/plugins/helper" )
call_file "$HOME/Library/Caches/antidote/mattmc3/zephyr/plugins/helper/helper.plugin.zsh"
if is-macos; then
fpath+=( "$HOME/Library/Caches/antidote/mattmc3/zephyr/plugins/macos" )
call_file "$HOME/Library/Caches/antidote/mattmc3/zephyr/plugins/macos/macos.plugin.zsh"
fi
fpath+=( "$HOME/Library/Caches/antidote/getantidote/use-omz" )
call_file "$HOME/Library/Caches/antidote/getantidote/use-omz/use-omz.plugin.zsh"
if ! (( $+functions[zsh-defer] )); then
fpath+=( "$HOME/Library/Caches/antidote/romkatv/zsh-defer" )
call_file "$HOME/Library/Caches/antidote/romkatv/zsh-defer/zsh-defer.plugin.zsh"
fi
fpath+=( "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/plugins/sudo" )
zsh-defer call_file "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/plugins/sudo/sudo.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/plugins/mise" )
zsh-defer call_file "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/plugins/mise/mise.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/plugins/pip" )
zsh-defer call_file "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/plugins/pip/pip.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/custom/plugins/you-should-use" )
zsh-defer call_file "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/custom/plugins/you-should-use/you-should-use.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/plugins/aliases" )
zsh-defer call_file "$HOME/Library/Caches/antidote/ohmyzsh/ohmyzsh/plugins/aliases/aliases.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/joshskidmore/zsh-fzf-history-search" )
call_file "$HOME/Library/Caches/antidote/joshskidmore/zsh-fzf-history-search/zsh-fzf-history-search.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/zsh-hooks/zsh-hooks" )
call_file "$HOME/Library/Caches/antidote/zsh-hooks/zsh-hooks/zsh-hooks.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/mattmc3/zfunctions" )
call_file "$HOME/Library/Caches/antidote/mattmc3/zfunctions/zfunctions.plugin.zsh"
fpath+=( "$HOME/Library/Caches/antidote/zdharma-continuum/fast-syntax-highlighting" )
zsh-defer call_file "$HOME/Library/Caches/antidote/zdharma-continuum/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh"
+31
View File
@@ -0,0 +1,31 @@
# .zsh_plugins.txt
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-autosuggestions
zsh-users/zsh-history-substring-search
mattmc3/zephyr path:plugins/color
mattmc3/zephyr path:plugins/helper
mattmc3/zephyr path:plugins/macos conditional:is-macos
# Oh-my-zsh dependency management
getantidote/use-omz
#ohmyzsh/ohmyzsh path:lib
#ohmyzsh/ohmyzsh path:plugins/macos conditional:is-macos
ohmyzsh/ohmyzsh path:plugins/sudo kind:defer
#ohmyzsh/ohmyzsh path:plugins/asdf kind:defer
#ohmyzsh/ohmyzsh path:custom/plugins/fzf-tab kind:defer
ohmyzsh/ohmyzsh path:plugins/mise kind:defer
ohmyzsh/ohmyzsh path:plugins/pip kind:defer
#ohmyzsh/ohmyzsh path:plugins/golang kind:defer
#ohmyzsh/ohmyzsh path:plugins/git kind:defer
ohmyzsh/ohmyzsh path:custom/plugins/you-should-use kind:defer
ohmyzsh/ohmyzsh path:plugins/aliases kind:defer
joshskidmore/zsh-fzf-history-search
zsh-hooks/zsh-hooks
mattmc3/zfunctions
zdharma-continuum/fast-syntax-highlighting kind:defer
#romkatv/zsh-bench kind:path