Skip to content

location of TZ_LIST and configuration #75

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

Closed
carbonmetrics opened this issue Nov 17, 2024 · 2 comments
Closed

location of TZ_LIST and configuration #75

carbonmetrics opened this issue Nov 17, 2024 · 2 comments

Comments

@carbonmetrics
Copy link

I am looking for the location of TZ_LIST on an Apple Mac.
Where is this located?

@jnd-au
Copy link
Contributor

jnd-au commented Nov 17, 2024

TZ_LIST is an environment variable, which can be exported from your command-line shell. With macOS, the default shell is zsh. So you can do this (replacing TZ1, TZ2, and TZ3 with your preferences):

export TZ_LIST="TZ1;TZ2;TZ3"

To also make it permanent, you can add the above line to the file .zshenv (or .zshrc) in your user home directory.

@oz oz changed the title location of TZ_LIST location of TZ_LIST and configuration Feb 14, 2025
@oz
Copy link
Owner

oz commented Feb 14, 2025

Since v0.8.0, tz can be configured from several places. The README files has a configuration section that explains how to use environment variables, or a configuration file (here's a sample).

I'm closing this for now!

@oz oz closed this as completed Feb 14, 2025
@oz oz pinned this issue Feb 14, 2025
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

3 participants