You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typically, with antidote you'll use a ~/.zsh_plugins.txt file to generate your static plugin load file. However, you might choose to skip that and use a HEREDOC instead. To use a HEREDOC with antidote your .zshrc might look something like this:
# clone antidote
[[ -e${ZDOTDIR:-~}/.antidote ]] ||
git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
# config and source antidote
zstyle ':antidote:bundle' use-friendly-names 'yes'
autoload -Uz ${ZDOTDIR:-~}/.antidote/functions/antidote
# if .zshrc is newer than your static plugins files...if [[ !${ZDOTDIR:-~}/.zsh_plugins.zsh -nt${ZDOTDIR:-~}/.zshrc ]];then# bundle plugins with a HEREDOC
antidote bundle >${ZDOTDIR:-~}/.zsh_plugins.zsh <<EOBUNDLES# promptsromkatv/powerlevel10k# utilsromkatv/zsh-bench kind:path# frameworkbelak/zsh-utils path:historybelak/zsh-utils path:completionbelak/zsh-utils path:editorbelak/zsh-utils path:utility# pluginsrupa/zzsh-users/zsh-autosuggestionszsh-users/zsh-history-substring-searchEOBUNDLESfi# source your 'saved' static filesource${ZDOTDIR:-~}/.zsh_plugins.zsh
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Typically, with antidote you'll use a
~/.zsh_plugins.txt
file to generate your static plugin load file. However, you might choose to skip that and use a HEREDOC instead. To use a HEREDOC with antidote your.zshrc
might look something like this:Beta Was this translation helpful? Give feedback.
All reactions