Help with using TABBY_CONFIG_DIRECTORY
environment variable.
#9523
Unanswered
timkinnane
asked this question in
Q&A
Replies: 1 comment 1 reply
-
IIRC profile files only apply to interactive shells. Try this https://stackoverflow.com/questions/135688/setting-environment-variables-on-os-x , but first confirm it works the way you expect it to by directly running |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I'm trying to follow the steps described in this issue comment to add a Tabby config.yaml to my Mac dotfiles, like
$HOME/.tabby/config.yaml
.I would like to follow first option to "set this environment variable on the operating system level according to your specific operating system".
I have tried exporting the variable in my user shell profile
~/.zshrc
likeexport TABBY_CONFIG_DIRECTORY=$HOME/.tabby
but it isn't getting picked up by the Tabby client, it still loads config from the default path$HOME/Library/Application Support/tabby/config.yaml
. I also tried setting it in~/.profile
,~/.bashrc
and~/.bash_profile
.I'd like to avoid using the
.env
file in the Tabby install path, because I'm trying to get a setup I can reproduce on concurrent installs, i.e. something static I can commit to my dotfiles repo and pull down on new machines or after formatting.Here's the config reading code for reference: https://github.com/Eugeny/tabby/blob/master/app/lib/config.ts
Beta Was this translation helpful? Give feedback.
All reactions