Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLAMOUR_STYLE env variable not respected #673

Open
tony-sol opened this issue Jan 14, 2025 · 0 comments
Open

GLAMOUR_STYLE env variable not respected #673

tony-sol opened this issue Jan 14, 2025 · 0 comments

Comments

@tony-sol
Copy link

Describe the bug
GLAMOUR_STYLE env variable is not respected in glow renderer

Setup
Please complete the following information along with version numbers, if applicable.

  • OS: macOS
  • Shell: zsh
  • Terminal Emulator: wezterm
  • Terminal Multiplexer: tmux
  • Locale: en_US.UTF-8

To Reproduce
Steps to reproduce the behavior:

  1. remove style from config file
  2. unset GLAMOUR_STYLE from env
  3. run glow on any md file or run TUI - see 'auto' style
  4. export GLAMOUR_STYLE=tokyo-night
  5. run glow on any md file or run TUI - see 'auto' style not changed
  6. add `style: tokyo-night" info config file
  7. run glow on any md file or run TUI - see how style was changed
  8. export GLAMOUR_STYLE=dark
  9. run glow on any md file - see 'tokyo-night' style not changed

Source Code
no need

Expected behavior
Respect GLAMOUR_STYLE env variable in TUI mode (as code says) and in CLI mode

Screenshots

Additional context
none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant