Closed ericbn closed 6 years ago
@Eriner, I want to use zstyle for all the zim configuration, as we already use in the git-info module. Two advantages are:
I'm taking advantage of zstyle also for the modules configuration in the new distributed code. For example, this is how you would define them:
zstyle ':zim' modules \
zsh-autosuggestions directory environment git git-info history \
input ssh utility completion zsh-syntax-highlighting history-substring-search
zstyle ':zim:module:zsh-autosuggestions' url zsh-users/zsh-autosuggestions
zstyle ':zim:module:zsh-syntax-highlighting' url zsh-users/zsh-syntax-highlighting
What do you think?
Yes, this is fine. Let's take this off the master branch though -- I don't want to break anything for anyone else.
Derp, this is in a module. LGTM.
instead of "global" environment variables.
From the "(z)style" glossary entry of From Bash To The Z Shell: