Skip to content

Way to set env in plugins.toml #191

@rossmacarthur

Description

@rossmacarthur

Discussed in #190

Originally posted by xiaoxiangmoe October 23, 2024
This is my zsh config

# .zshrc
ZSH_THEME=agnoster
ZSH_THEME="robbyrussell" plugins=(git npm macos) eval "$(sheldon source)" # see https://github.com/ohmyzsh/ohmyzsh?tab=readme-ov-file#enabling-plugins
echo $ZSH_THEME # the ZSH_THEME value should keep agnoster here
# .config/sheldon/plugins.toml
shell = "zsh"
[plugins.oh-my-zsh]
github = "ohmyzsh/ohmyzsh"

Is there any way to move config ZSH_THEME="robbyrussell" plugins=(git npm macos) from .zshrc to .config/sheldon/plugins.toml?

# .config/sheldon/plugins.toml
shell = "zsh"
[plugins.oh-my-zsh]
github = "ohmyzsh/ohmyzsh"

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions