-
Notifications
You must be signed in to change notification settings - Fork 624
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
Cannot find any direnv.toml config file #1241
Comments
you have to create it: mkdir -p $HOME/.config/direnv
touch $HOME/.config/direnv/direnv.toml Then manually add TOML settings to your direnv.toml file For example[global]
load_dotenv = true |
Thanks, after posting the issue I just realized we might have to create it. It should be great to be more clear in the doc about that. |
We can change the label from bug to documentation and I can rewrite the issue if needed |
Do you have a sense of where in the documentation this should be added? |
It could be at the very top of https://direnv.net/man/direnv.toml.1.html#codeloaddotenvcode, saying the config file is not created by default and should be created be created by the user. Does that make sense? |
On some machines (several Debian 12 VMs, and on an Android 14 device with Termux), after installing direnv with
apt
/apt-get
, I cannot find anydirenv.toml
config file. I've been looking in~/.config/direnv/direnv.toml
and I tried to check with the content of$XDG_CONFIG_HOME
(which is empty).Where should I look for the
direnv.toml
config file after install, if not in~/.config/direnv/direnv.toml
?The text was updated successfully, but these errors were encountered: