-
Notifications
You must be signed in to change notification settings - Fork 60
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
Track dotfile not in main folder #68
Comments
Thanks, that's good to hear. First, I'm assuming you're using the pypa version 0.6.3, correct? (as opposed to master). What you describe is certainly not supposed to happen. Can you tell me the state of the repository before and after you add the file? One way to do this is with the It's possible that this is fixed in master, but that requires migrating and maybe not something you want to worry with right now. Either way, I'll get it sorted. |
Hi Jon, Apologies for the late reply. I didn't want to mess up my environment but encoutered the issue again so I took the time to log the results of the steps you were suggesting. Before the
After adding my
|
After re-adding the config files for I've also tried to create the folder, and sync again, but
|
Ok, I see. And just to be sure, what version are you using? Did you install from pypa or are you running code from the git repository? |
I've installed |
Ok, definitely a bug. In this version (0.6.4), you’re only allowed to add top-level dotfiles (files that are directly in your home directory and not nested in other directories). This kinda sucked, so Create a file
This could also be stored in the repository itself in
And that will correctly store your neovim configuration in the repository. This is still pretty limited and was a major reason I’ve been hacking on the code in |
Thanks @jbernard I've followed your instructions with the only exception of adding the files using the command The issue I have is that the changes are not propagated to new systems. In a new laptop I can pull the changes from GitHub and run I'm still running |
Alright, I’ve found some motivation and pushed a bunch of commits. What’s in master now should be much closer to what you’re looking for (it certainly is for me). If you’re willing to help me test this, I could use this to construct the installation and usage documentation. Is that something you might be interested in helping with (testing the new version)? The final result will be the 1.0 version, but there are some distinct differences from 0.6.4 in interface and behavior, so it will likely require a fresh repository. Let me know if you’re interested. |
Hi Jon, I'm definitely interested in helping you with this. I should be able to test what in the Thank you again for your hard work, |
That’s great, thank you! Please don’t feel obligated, give it a try when you can and let me know how it goes, what’s working, what sucks, etc. If you never report back that’s okay too, I known we’re all busy. I’ll be writing documentation for installation and usage this week hopefully, let me know if you have any questions about those things. In general, there are a few things to know about the current version:
You can install this in one of three ways:
That should be enough to get you started. Click technically support shell completions for bash and zsh, I need to test and document that. The status command has colors if you like colors (disabled by default). Give it a spin and let me know. Thanks again! |
Oh, I should also mention that all of my changes lately have been using Python 3 (3.6). If you’re using version 2 there may be something that slipped through, let me know if that’s the case. Once if fix the tests I should have coverage for both versions. |
First of all, thank you for this tool. I've been using it for more than a year and recommend it to all my colleagues 👍
After all this time, however, it's not entirely clear to me how to track the configuration file
neovim
, which is located in~/.config/nvim/init.vim
.I can add the file using the command
dotfiles --add ~/.config/nvim/init.vim
. This adds ainit.vim
file in the~/Dotfiles
folder. However, when I pull the repo in a different machine and sync, dotfiles is not copying theinit.vim
in the new machine. I always have to manuallycp
-ing it.I read the documentation and tried a few things, but nothing seems to solve my problem. What am I missing?
The text was updated successfully, but these errors were encountered: