-
How do I use $VARIABLES like |
Beta Was this translation helpful? Give feedback.
Answered by
mattmc3
Sep 19, 2022
Replies: 1 comment
-
The tool you want is .zsh_plugins.txt
.zshrczsh_plugins=${ZDOTDIR:-~}/.zsh_plugins.txt
envsubst <${zsh_plugins} | antidote bundle >${zsh_plugins:r}.zsh This shows the output: $ envsubst <${zsh_plugins} | antidote bundle
fpath+=( /Users/mattmc3/.zsh/custom/plugins/nodejs )
source /Users/mattmc3/.zsh/custom/plugins/nodejs/nodejs.plugin.zsh
fpath+=( /Users/mattmc3/.zsh/custom/plugins/python )
source /Users/mattmc3/.zsh/custom/plugins/python/python.plugin.zsh
fpath+=( /Users/mattmc3/.zsh/custom/plugins/ruby )
source /Users/mattmc3/.zsh/custom/plugins/ruby/ruby.plugin.zsh |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mattmc3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The tool you want is
envsubst
. You can run your~/.zsh_plugins.txt
through it and pipe the results toantidote bundle
..zsh_plugins.txt
.zshrc
This shows the output: