Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Log in and click on "Tread Tools". That should do it.
Hi JZL240I-U. I'm obviously logged in already, since I posted the previous comment. The Thread Tools feature for other threads that I've made show the mark as solved option. But the option is not there for this thread.
Only the original poster can mark a thread as Solved.
As you're not that OP, the option isn't there for you.
Hi ehartman, thanks. My bad. I was sure that I had begun this thread - I might be getting it mixed up with another similar thread that I started a while back. 🤦
tar and rsync backup hidden files just fine, but restoring after a disaster can be a lot of work. I actually created a directory with symbolic links to my .emacs, .bashrc, .ssh/ and other files that would be life-changing if I lost. It makes recovery one step simpler to have that set of immediately needed files handy.
I copy all dotfiles to a separate directory and rename them with the dot removed. This is easier for me to see the one I want to restore from a backup of that directory.
I'm not sure I understand what specifically git-subrepo does and how it helps - the combination seems more complicated than just using Git's built-in functionality for splitting repo and working dir (as described by Nicola Paolucci of Atlassian)...?
I'm not sure I understand what specifically git-subrepo does and how it helps - the combination seems more complicated than just using Git's built-in functionality for splitting repo and working dir (as described by Nicola Paolucci of Atlassian)...?
I'm going to actually want zsh-syntax-highlighting installed to ~/.zsh, so, in the root of the dotfiles repo, I do this:
Code:
mkdir -p cfg/.zsh
cd cfg/.zsh
ln -s ../../subrepos/zsh-syntax-highlighting
Yes, it's a relative symlink, but stow will be smart enough to deal with that when I use it. Anyway, I need to source it in ~/.zshrc, so I put the following in cfg/.zshrc:
By now, nearly all programs should place configuration files in $XDG_CONFIG_HOME (default ~/.config) rather than in dotfiles in the home directory. I switched all of my programs years ago.
Ed
Thanks, I get it now. You have dotfiles as a repo, but also multiple repos within dotfiles/subrepos which git-subrepo helps you to manage, without resorting to submodules (which are a PITA).
Quote:
Originally Posted by EdGr
By now, nearly all programs should place configuration files in $XDG_CONFIG_HOME (default ~/.config) rather than in dotfiles in the home directory. I switched all of my programs years ago.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.