Closed denysdovhan closed 1 year ago
Quick thought: It can also be used to conditionally load plugins for bash and zsh on different machines.
This would be really useful when you try to load plugins specific to OSTYPE
I'd really appreciate this feature :)
Resolved in #143
I'd love to some kind of
when
option in the config file, for conditional sourcing. For example, I had this configuration withzplug
I guess it's possible to make something like this in
sheldon
:In the example above,
when
option will execute the command. Entry will be sourced if it was executed with zero exit code. Additionally askip
command might be introduced to do the opposite.