Comments (4)
Hey Joe, so you have a directory called ~/.ncmpcpp
containing some (but not all) files that you wish to manage in your dotfiles repo?
from dotfiles.
Yes, that's exactly right. I'd like to add the dir .ncmpcpp but NOT add every single file in it. I've tried adding the files I don't want to the ignore list to no avail. Can I nest them inside a dir called ncmpcpp within ~/dotfiles? BTW, I've already tried this and it didn't work. But I thought I'd ask. Thanks!
from dotfiles.
This is totally possible, but you'll need to do some manual setup as it's not available through the commandline interface. The feature you'll need is called packages
. Here's how to make this work:
-
Make backups of the files you care about in case something goes wrong and until you've verified that everything is as it should be.
-
In your repository, create a directory (I'm assuming default prefix) called
ncmpcpp
. -
In your repository, create a file
.dotfilesrc
at the root that contains at least:[dotfiles] packages = [ 'ncmpcpp' ]
-
From the real directory
~/.ncmpcpp
, move the files you want in your repository into the directory you created, default would be `~/Dotfiles/ncmpcpp/'. So now the only files left in the real directory are the one's you don't care to keep synced and the only files in the repository directory are the ones you do care to keep synced. -
Because of the
packages
directive in the config file you created, issuing:
dotfiles -s
Should create the symlinks correctly and you should be in good shape. Let me know how it goes.
from dotfiles.
Worked perfectly. Thanks for your help!
from dotfiles.
Related Issues (20)
- Will we hit 1.0.0 with new API? HOT 9
- Logo needed HOT 4
- Use built-in exceptions HOT 2
- Support for encryption HOT 2
- Adding support for non-dot config files HOT 5
- `dotfile sync --force` removes `.config`. HOT 3
- Resolve env variables in .dotfilesrc HOT 1
- Is this repository unmaintained? HOT 1
- Does master read .dotfilesrc? (Edited and summed up for those who think tl;dr) HOT 6
- No more Windows support since 48e781 HOT 4
- An example of why ignore or a list option is useful HOT 2
- Track dotfile not in main folder HOT 11
- master and symlinks HOT 2
- Is an AUR update possible? HOT 2
- How to link non prefixed files not in the home directory? HOT 3
- Horrible! HOT 2
- Feature/Bug: -f clobbers HOT 2
- Request: Update version uploaded to pip HOT 3
- Bug: Hanging link left hanging after sync HOT 2
- End up with .git in my home directory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.