mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Support a custom location for the config
Export $JRNL_CONFIG to override the location instead of using $HOME. Too many dotfiles are literring it, ya' know? Linux desktop users, you might like if you follow the XDG standards: export JRNL_CONFIG=$XDG_CONFIG_HOME/jrnl/config
This commit is contained in:
parent
f79f7cf849
commit
b66480ff1d
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ __version__ = '1.0.0-rc1'
|
|||
__author__ = 'Manuel Ebert, Stephan Gabler'
|
||||
__license__ = 'MIT'
|
||||
|
||||
CONFIG_PATH = os.path.expanduser('~/.jrnl_config')
|
||||
CONFIG_PATH = os.environ.get('JRNL_CONFIG', os.path.expanduser('~/.jrnl_config'))
|
||||
PYCRYPTO = install.module_exists("Crypto")
|
||||
|
||||
def parse_args():
|
||||
|
|
Loading…
Add table
Reference in a new issue