mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Merge pull request #178 from matze/use-env-editor
Try $VISUAL and $EDITOR for config['editor']
This commit is contained in:
commit
97286722ab
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ default_config = {
|
|||
'journals': {
|
||||
"default": os.path.expanduser("~/journal.txt")
|
||||
},
|
||||
'editor': "",
|
||||
'editor': os.getenv('VISUAL') or os.getenv('EDITOR') or "",
|
||||
'encrypt': False,
|
||||
'default_hour': 9,
|
||||
'default_minute': 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue