Live data from Hacker News

Dotfiles feel too personal to share

hamatti.org

151–153 of 153 posts

Re: Dotfiles feel too personal to share

#151
post #12

RIGHT? I could MAYBE see it if you were sharing your things on your personal blog -- but "github dotfile repos" feels wildly icky to me.

How? What? It's not icky.

I mean, that's subjective.

Kinda feels like uploading a picture of my bathroom/medicine cabinet. There's nothing in there particularly incriminating or whatever. Just kinda feels weird.

Re: Dotfiles feel too personal to share

#152
post #83

Earlier quoted context omitted.

chezmoi includes secret scanning from https://gitleaks.io/ by default to catch when you accidentally add a file with a secret in it. To be even more confident, you should add gitleaks as a git hook to your repo however.

How do you automatically set up the hooks, e.g. when you clone the repo on a new computer? Also, is there a way to automatically edit a chezmoi managed file in the chezmoi directory? I accidentally type stuff like "nvim .bashrc" way too often and then forget I never added the changes to chezmoi. It would be neat if there was a vim plugin or something that just opened the chezmoi file instead if it's managed.

Please can you open an issue or discussion for these questions on https://github.com/twpayne/chezmoi - this way more people will both be able to help and more people will see the answer.

Re: Dotfiles feel too personal to share

#153
post #152

Earlier quoted context omitted.

How do you automatically set up the hooks, e.g. when you clone the repo on a new computer? Also, is there a way to automatically edit a chezmoi managed file in the chezmoi directory? I accidentally type stuff like "nvim .bashrc" way too often and then forget I never added the changes to chezmoi. It would be neat if there was a vim plugin or something that just opened the chezmoi file instead if it's managed.

Please can you open an issue or discussion for these questions on https://github.com/twpayne/chezmoi - this way more people will both be able to help and more people will see the answer.

I will do that. I apologize for raising it here in the first place and thank you for creating and maintaining a great piece of software!
Post reply on HN