Ability to implicitly set a default filename through environment variables #203
Replies: 1 comment 4 replies
-
Thanks for the suggestion, I didn’t know about direnv. I have to admit, I’m slightly reluctant to add more ways to specify input, in order to keep the complexity contained. I wouldn’t rule it out, but I probably have to think more about it.
Do you mean it’s repetitive to type the bookmark name when using it, or to set it up in the first place? Personally, I always assign two-letter bookmark names, e.g. |
Beta Was this translation helpful? Give feedback.
-
I tend to have a one
.klg
file per project to track the amount of time I've spent on it. While bookmarks is a nice feature, it's also kind of repetitive having to specify it over and over again. It would be nice if you could implicitly tell klog what file to use through an environment variable. This goes really well together with direnv.This would allow me to create a
.envrc
file in the root of my project, addexport KLOG_FILE=./proj.klg
to it and let direnv automatically export it for me. klog would then automatically pick up theKLOG_FILE
environment variableif it were present.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions