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
Ability to use XDG_CONFIG_HOME path for ZK's config and templates #10
Comments
Hi Seth, welcome!
But I think some of |
Ahh, that makes more sense. I was trying to get a sense of how/what was acting as the root "key" for the config and the notebooks. I'm looking at ways to make link-following easier; since this is tool agnostic for editing/etc; and you seem to be a (n)vim user; do you recommend something like vim-wiki/vimwiki for handling the link expansion and creation? Basically, I think I'm looking to utilize Ever considered doing a live-stream or a youtube video showing some of your real-world usages? 🙏 |
I spawned a new discussion for Vim: https://github.com/mickael-menu/zk/discussions/11
No but why not! I don't think my setup is very special, but it could help showcase some of |
I'm going to 👍 this idea… mostly because I sync my wiki back and forth on dropbox… and I can't figure out how to tell the second computer to use ~/Dropbox/wiki as it's primary notebook. On the first computer, I just ran |
@evantravers I started working on the global config, but I'm not sure this is going to solve your problem. A There is no notion of "global notebook" with I can understand the appeal of running |
I implemented it in this PR: https://github.com/mickael-menu/zk/pull/12 Here's a macOS build, I will wait for your feedback before merging the PR. And I'm looking forward to any cool aliases you may add to your dotfiles repos! ;) |
@evantravers @megalithic I've given more thought to the global notebook issue and came up with this potential solution: https://github.com/mickael-menu/zk/issues/13 |
Your solution from #13 makes complete sense and seems like the direction to go. |
I love this. I honestly think that this “git-like” approach is a perfect fit for both vim and unix-y atomic notes in general. Very excited to follow along.
…Sent from my iPad
On Mar 17, 2021, at 8:46 AM, Seth Messer ***@***.***> wrote:
Your solution from #13 makes complete sense and seems like the direction to go.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Here's an updated macOS build supporting the |
I pulled and updated it today to play with it… this is really fun. Thanks Mickaël!
…Sent from my iPhone
On Mar 18, 2021, at 1:53 PM, Mickaël Menu ***@***.***> wrote:
Here's an updated macOS build supporting the ZK_NOTEBOOK_DIR env variable per #14. Thanks again for your feedback, I think it's making zk more enjoyable to use!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@mickael-menu quick question around global config/templates (https://github.com/mickael-menu/zk/blob/main/docs/config.md#global-configuration-file).. there still seems to be a requirement that a config.toml exist in your notebook's directory (even the notebook defined in the ZK_NOTEBOOK_DIR; is this expected behaviour? thanks! |
Not really, it's probably just a leftover from the previous behavior. I guess checking the presence of the |
Hey there @mickael-menu!
I was recently alerted to this project by @evantravers and am super excited to dive in!
One thing I've been trying to do with my dotfiles and my system setup in general, is to move everything config-wise to
XDG_CONFIG_HOME
(~/.config/
). I see there looks to be some flexibility forpath
inzk.go
where you're joining that givenpath
with a fixed.zk
dir for those config items. I'm a little bit confused on what the.zk/
path is relative to.Any thoughts around this as an option?
Thanks again for such a wonderful tool!
The text was updated successfully, but these errors were encountered: