How to use a configuration stored in some custom directory as a default configuration? #1596
Unanswered
svenkat683
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @svenkat683, I think the best approach is to use an alias that adds your
To set that alias for all users, see this Stackoverflow thread. Or just run that alias command for each user. There is another approach that would involve changing your XDG configuration folder by modifying the XDG_CONFIG_HOME environment variable as specified in the XDG spec, but it would affect other applications that follow this spec, so I think the alias is a more solid approach. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use same configuration over two different user accounts on my Macbook.
For this, I have moved the configuration file to
/Users/Shared
folder. I can use alternative config by usingjrnl --config-file [configuration file path]
.But I want to use this new configuration file as a default so that when type
jnrl
on my terminal, it will directly consider my new configuration file path.Beta Was this translation helpful? Give feedback.
All reactions