frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Dotfiles feel too intimate and personal to share

https://hamatti.org/posts/dotfiles-feel-too-intimate-and-personal-to-share/
92•speckx•2h ago

Comments

cipehr•2h ago
I feel similarly. For me it’s less about my unique customizations and more about this paranoia of there being something remotely sensitive in my ssh configs or something… the idea of hostnames, ips, domains, etc “leaking” worries me.

I use chezmoi to manage my dotfiles, if anyone has any advice on how to handle these worries I am all ears. I would love to share mine, even to just be able to point coworkers at my config.

phailhaus•2h ago
I get around that by sourcing a separate file in my config that I don't make public. Those are my company-specific settings.
athorax•2h ago
I feel similarly. For me I know it is because of my rejection sensitive dysphoria. The fear of someone seeing and judging something personal of mine is quite uncomfortable. I don't have the same issue with code I write professionally.
awill88•2h ago
I feel similarly. There is virtually zero chance I’m going to clone and run someone else’s dotfiles. So the act of sharing them is a generous look into a developer’s toolchain and I’ve been inspired by others’ choices. So, if you know how, please share them!
pavel_lishin•2h ago
I've never straight up cloned them, but my dotfiles have grown in large part out of some copy-and-pastes from other people's.
alexandroqc•2h ago
I used to use chezmoi and had a great experience with it .It made it easy to choose exactly what I wanted to share. These days, I don’t have many devices, so I stopped using it. Still, it feels great when someone asks, “How did you set that up?” and I can instantly share my entire configuration through a GitHub repo.
dayjah•1h ago
I found the syncing process in chezmoi to be so hard to mentally model.

I’d often change a file, forget that it was backed by the chezmoi store, later find myself trying to reconcile the differences, just so I could commit and share w/ another computer. nix + home-manager and snowfall lib, once over the multi month ramp up, have been such a breath of fresh air in multi system management

zeppelin101•1h ago
This command solve the problem for me: https://www.chezmoi.io/reference/commands/merge-all/
pavel_lishin•2h ago
I have two sets of dotfiles - public and private. I don't mind sharing my public ones - what do I care if someone on the internet thinks my tmux setup is non-optimal? But there are some things I do keep private, though they probably don't qualify as dotfiles, exactly - RSS subscription backups, some backup scripts that reveal filepaths I'd rather not have revealed, old outdated things like my znc, irssi, etc. configs...
incognito124•2h ago
I truly appreciate people sharing their dotfiles, I learned so much about vim and zsh just by reading other people's configuration alone (and the occasional comments there).

Also, the quality of life improvements like `alias ..='cd ..'`, or mapping `l` such that it either opens a pager or lists a dir, depending on the argument. I'd never come up with those, and they're beyond useful.

Milpotel•2h ago
Last one sounds interesting, could you share a link or snippet?
Joker_vD•1h ago
I imagine it's something like

    l() { if [ -d "$1" ] ; then ls -alFh -- "$1" ; else "${PAGER:-pager}" -- "$1" ; fi }
in the .bashrc
jrm4•2h ago
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.

apwell23•1h ago
why? no one cares about your dotfiles 99% of time.
fishbacon•2h ago
I share my .emacs with people who ask. Not really for privacy, but because I would feel bad: If someone tried to use any of it and was not able to ask me what I was thinking.

The usual answer is that I was not and we should change it.

I would also have to distribute a couple of novel go programs that I am not proud of if I was sharing it publicly.

qiine•1h ago
I was close to upload my full dotfile dir to github, telling myself it would be handy when I switch computers..

Then I realized that some of those config files reflected a lot about my systems and personal preferences... and it was only going to be ever more detailed, so I said NOPE making separate repos for my nvim config maybe and that will be it!

sorry.

tracker1•1h ago
You can always use a private repository for it. And, yeah, it's been very useful. I pushed a relatively straight forward config for Windows and WSL a few years ago, I really need to update it. I also want to get my Linux config done as well.

I mostly backup and restore from my NAS for my dot-files, and some of my ~/.config, though I need to nail that down a bit better, as ~/.config feels excessively bloated from a few apps.

nobleach•1h ago
My dots are open to anyone who cares to view my GitHub. I do tend to keep employer specific aliases/stuff in an `.employer.zsh` file that is sourced by my main `.zshrc`. But my NeoVim config is completely open for inspection. I'm not doing anything all that extraordinary though. I don't share my dots on Reddit simply because I don't feel like using my real identity on that platform.

When it comes to consuming the dots of others, I just switched to AxOS for Linux... and am auditioning Celestia (https://github.com/caelestia-dots/shell). This means that in 3 months, my desktop will likely look like everyone else's. I probably won't even commit any of this as it's not really my stuff.

trostaft•1h ago
Thanks for the reference, that looks incredible.
Insanity•58m ago
That actually looks pretty cool. Might have to play around a bit with Caelestia as well.
tylergetsay•1h ago
I feel the same about my NixOS config despite the "open repo" model kind of being a default in that ecosystem
dayjah•1h ago
Oh man… that “how normal is this thing of mine” feeling writing nix gives me is such a weird characteristic of the ecosystem.

I simultaneously don’t want anyone to see mine while desperately seeking affirmation that mine is not weird ^_^

Happy to hear I’m not alone!

tylergetsay•1h ago
It makes me feel bad because I frequently will search github with "language:nix" to find usages, which is usually done in someones (sometimes the nixpkgs commit authors) personal config :')
tootie•1h ago
One trick I use is putting secrets in 1password and just including the 1password URLs in my checked in my sample dotfile.
err4nt•1h ago
I think the key is that dotfiles are a different genre of (code) writing than production code, with different investment, different motivations, different pain points and histories, and a sensitivity to the author that's not required when analyzing production code. You're looking into someone's daily writings, not their polished releases.

I think the fear is scrutiny, rejection, mockery for something that clearly works for you and you don't ever expect anyone else to use. But also partly that it's exposure without much reward in return. All these feelings are normal and it's fine to share or not share them. Just please honour the authors of the dotfiles you read even if you wouldn't ever think to use code in the way they do!

QuercusMax•17m ago
I'm sure I have stupid and weird stuff in my dotfiles. At one point I had bash set up so if I typed something like "gi tlog" it would fix it for me; this is obviously not something that everybody needs because it's due to my idiosyncratic typing-too-fast.

I've been using Unix systems since last century; my standard way to do a find-and-replace in a file is still 'perl -pi -e s/foo/bar/ filename.txt'; I've been writing that for 25 years and I'm unlike to stop any time soon unless perl stops working. I'm sure there's a better way to do this, but :shrug:?

jrockway•1h ago
I've never felt that icky. I don't really have any secrets in my dotfiles, though I have in the past. In that case, I just encrypt the private stuff using my SSH private key (stored in 1password) and age (via sops-nix).
seethishat•1h ago
They are private. Many people store env secrets (db conn strings, etc.) in .bashrc. It's meant to be a private place in your home folder for private things.
nativeit•1h ago
Aren’t the default permissions 644?
k_roy•1h ago
They are really only private if you design it that way. There are numerous ways you could have access to those private parts of your bashrc, but still make the actual bashrc public.

That's coming from my kubernetes background though, and handling secrets this way is not something that people are always accustomed to.

kernc•1h ago
Too personal to share, but maybe too personal and important to share even with the members of the cloudy cartel, i.e. the Providers. Is exactly why I wrote myba that does full contents and paths encryption before syncing with the lapsable remotes ...

https://kernc.github.io/myba/

Some things are better public. Some are not ...

tecleandor•1h ago
That looks nice!

The moment I started syncing dotfiles between my work and personal computers, I know it was an error because very different reasons. Difficulty of maintaining different OS details (Linux vs MacOS). What if leaked a private key or a sensible path. What if a pushed to the wrong place or somebody made public the wrong repository...

When reading your comment something and idea came to mind about using something like sops to encrypt paths, passwords and keys. But I'll check yours first, so to avoid to construct a bunch of stuff that you've already done :D

thewisenerd•58m ago
this reminds me of public repos of pass [1] i've seen in the wild

same issue of intimacy, the paths aren't encrypted.

[1] https://www.passwordstore.org/

stopcoffee77•13m ago
thank you, I will take a very intimate look at your codebase and probably vibe-code parts of it into this to-be-cleaned-up ugly codebase!

https://github.com/canvas-ai/canvas-cli/blob/main/src/comman... ``` canvas dot Dotfiles: ● username@localhost:universe ● /home/username/Wallpaper.jpg → work/customer/wallpaper.jpg

twp•1h ago
It's not a question of share everything or share nothing - with https://chezmoi.io you can choose exactly what you want to share:

* You can keep your entire dotfile repo secret by using any private git hosting, including your own git hosting or a private GitHub repo.

* You can keep individual files secret by using age or gpg encryption. If you repo is public, this only reveals the existence of the file, not its contents.

* You can keep individual parts of your dotfiles secrets, e.g. API keys, by encrypting them or storing them in your password manager. All popular password managers are supported.

Disclaimer: I'm the author of chezmoi.

tecleandor•1h ago
I used chezmoi briefly yeeeeeears ago, and I think it didn't have the 'encrypt only parts of the files' feature yet. I might test it again :)
kjuulh•1h ago
Chezmoi has been a blessing to use. It is one of the only tools I've used that had been able to survive me neclecting it for months and then getting back to it. I'd love a more interactive diff when my dotfiles have driften too much. But otherwise it is perfect for my needs.
alisonatwork•1h ago
The first UNIX account I ever got was on a BSD, and the first thing I saw in the first file I learned how to open was:

  # A righteous umask
  umask 22
I'll never forget those lines because they seemed so mysterious and cool. And they informed my philosophy on how the internet should be. People should be able to see other people's stuff by default. It's nice for us to be able to learn from one another. It's harder to rely on the honor system for privacy nowadays, but I still think "share by default" is a noble ideal.

That said, I also am unsure how best to overlap aliases and configs that are sensitive to my workplace with my everywhere config. Maybe I should have a .employer file that I source if it's there, but something about including that into my everywhere config feels decidedly not righteous.

r3trohack3r•23m ago
Not just the internet but communities too. High trust societies are great to live in, digitally and physically. Leave the doors unlocked, leave keys in the ignition, leave valuables on the table when you walk away.

But high trust societies only work when the price of ongoing admission is not violating that trust.

When you accept/tolerate/expect the violation of trust the doors lock.

Cu3PO42•1h ago
My dotfiles are public [0], but getting there was work. I went through everyhing to make sure I don't accidentally leak something, all secrets are managed separately, you don't accidentally distribute something violating its licence, etc.

I also feel the need to write docs for some things, that I never would if they were private (I haven't actually done that, I just feel that I should).

I get everyone who wants to keep them private, but I'm also thankful for everyone who made them public so others can learn from them.

[0] github.com/Cu3PO42/gleaming-glacier/tree/next

gchamonlive•1h ago
You just have to put some effort into separating your dotfiles into a generic layer and a customization layer. Done something like this with my dotfiles repo, which now triples as a generic archlinux customisation tutorial with hyprland and a description of the backup strategy that is tightly coupled with the configuration layout: https://github.com/gchamon/archlinux-system-config
Insanity•1h ago
I actually resonate with this as well, but similarly can't really explain why. I have my own set of dotfiles (one set for my 'home setup' and one set for my 'work setup').

They are versioned and stored on GitHub, and are actually relatively static at this point. And even though it's pretty standard stuff, I wouldn't feel comfortable sharing them publicly. Odd.

luckydata•58m ago
is there some sort of utility to automatically backup and retrieve dotfiles from github to keep different computers synchronized?
dcchambers•48m ago
I split mine. I have public dotfiles and private. No need to share everything.
holman•30m ago
I have like 7500 stars on my dotfiles over the last 15 years or so; it's definitely weird. It's kind of a different open source project entirely; the goal isn't really to make good software... it's to make good software for me. Most of the time in open source those overlap completely, but with dotfiles I'll get pulls that make sense, that can be helpful, but... at the end of the day they're my dotfiles and I don't really make large changes to them anymore. It's just a lot different from my other projects I manage.

That said, mine also started before things like Oh My Zsh popped up, which are better frameworks to share and collaborate on these things. I think frameworks like that are great, and I think seeing someone's more "intimate" dotfiles is helpful, too- you get a look at how someone sets up their environment, which tends to be private unless you're doing a lot of pair programming. So yeah, just interesting all around.

zahlman•29m ago
Sometimes there are valid security reasons for this, after all. (Looking at you, .pypirc .)
CMCDragonkai•23m ago
I've been keeping my personal .dotfiles publically for the past decade. https://github.com/cmcdragonkai/.dotfiles-nixos.

But I do agree that secrets need to be handled carefully. Look at my list of `.gitignore`! But (I'm biased of course) I would recommend using Polykey to manage your secrets instead leaving any trace of things on disk.

justonceokay•16m ago
Installing a (read: many) custom vim plugins and color scheme and screen version and etc… stops being fun about the third time you have to log into a nameless server. That being said, there are some settings that I absolutely cannot live without; `j=gj` being a good example in vim.

IMO your dot files are only useful to share if they are usable with the default software of the place you’ve shared them to. Otherwise they become a prison that forces you to install all your special versions and plugins and scripts and etc. on the other hand, I felt like making my dotfiles easy to share forced me to use as many default settings as possible, which in the long run saves me a lot of time and energy.

“The only zen you’ll find on a mountain top is the zen you brought with you” is one of my favorite sayings, and in a weird way I find it fitting here. If you learn to love the default settings then every server feels like home.

alkh•11m ago
That's something I was a little bit conflicted about for some time. After using a few open source tools(shoutout to syncthing and linkding :)) and I realised that if you want to use something for free, sharing is the least you can do.

My dotfiles are private for now cause I need to clean some commits(I think I might have added some private info before) but I intend to publish them eventually

When the bubble bursts – AI in music production

https://www.musicradar.com/music-tech/when-the-bubble-bursts-the-grandiose-claims-about-the-technology-will-be-shown-to-be-massively-overblown-ai-in-music-production-where-should-we-draw-the-line
1•leopoldj•1m ago•0 comments

When being "first" is not a competitive advantage (2011)

https://longform.asmartbear.com/first-competitive-advantage/
1•mooreds•1m ago•0 comments

GPT-OSS 120B Writes a Lisp in Go Fast

https://elite-ai-assisted-coding.dev/p/gpt-oss-120b-lisp-in-go
2•intellectronica•2m ago•0 comments

Moldable Development at Lifeware (micro tools for a 35M LOC system)

https://lepiter.io/feenk/moldable-development-at-lifeware-1qghybxuw4r22ncmpdhy9m9xl/
1•tudorgirba•3m ago•1 comments

Show HN: Glyphshift – A Browser Extension to Learn Phonetic Systems

https://mordenstar.com/projects/glyphshift/
1•vunderba•3m ago•0 comments

Grok's 'spicy' video setting instantly made me Taylor Swift nude deepfakes

https://www.theverge.com/report/718975/xai-grok-imagine-taylor-swifty-deepfake-nudes
1•srameshc•4m ago•0 comments

Better UI for Grammar Checking

https://elijahpotter.dev/articles/better_interfaces_for_grammar_checking
1•chilipepperhott•5m ago•0 comments

Show HN: Aspyriz – Build your MVP in seconds with AI (no-code founder platform)

https://aspyriz.com
1•kunalphogat•5m ago•0 comments

Ten Thousand Agents

https://notes.npilk.com/ten-thousand-agents
1•npilk•6m ago•0 comments

GPT 5 coming tomorrow confirmed

https://twitter.com/OpenAI/status/1953139020231569685
1•iamronaldo•7m ago•0 comments

Body of man missing for 28 years found in melting glacier

https://www.bbc.com/news/articles/cy8jqy4y5e8o
1•tartoran•9m ago•0 comments

Ask HN: Did you do more programming on your C64 than on your Amiga?

1•amichail•11m ago•0 comments

Suspect Dies 2 Days Before Arrest for 1986 Kidnapping, Rape

https://www.forensicmag.com/3594-All-News/620669-Suspect-Dies-2-Days-Before-Arrest-for-1986-Kidnapping-Rape/
1•WaitWaitWha•12m ago•0 comments

Multics

https://www.multicians.org/multics.html
1•unleaded•13m ago•0 comments

Consistency over Availability: How rqlite Handles the CAP theorem

https://philipotoole.com/consistency-over-availability-how-rqlite-handles-the-cap-theorem/
2•otoolep•14m ago•0 comments

Former Intel board members call for independent US based foundry

https://fortune.com/2025/08/06/former-intel-board-members-america-needs-chips-champion-tsmc-samsung/
3•osnium123•14m ago•0 comments

Native Nvidia support for AlmaLinux OS 9 and 10

https://almalinux.org/blog/2025-08-06-announcing-native-nvidia-suport/
2•speckx•16m ago•0 comments

Show HN: Why Personalization Is the Next Big Thing in AI

https://walidamamou.medium.com/why-personalization-is-the-next-big-thing-in-ai-eed08f59d334
1•Mesterniz•18m ago•0 comments

Open Source IDE for Exploring and Testing API's (Postman/Insomnia Alternative)

https://github.com/usebruno/bruno
1•lastdong•20m ago•0 comments

Meta reportedly attempted to acquire Mira Murati's startup Thinking Machines Lab

https://timesofindia.indiatimes.com/technology/tech-news/angry-at-mira-murati-for-refusing-metas-1-billion-job-offer-ceo-mark-zuckerberg-launched-a-full-scale-/articleshow/123121189.cms
1•mooreds•20m ago•0 comments

Show HN: Free access and one-click swap to GPT-OSS and Claude-Opus-4.1 on Gensee

https://www.gensee.ai/
1•yiyingzhang•23m ago•0 comments

My Scammer - I Responded to One of the Spam Texts From a “Recruiter”

https://slate.com/technology/2025/08/indeed-job-recruiter-text-message-scam.html
3•mtg•23m ago•0 comments

Universal Pictures to Big Tech: We'll Sue If You Steal Our Movies for AI

https://www.hollywoodreporter.com/business/business-news/universal-pictures-big-tech-well-sue-if-you-steal-movies-ai-1236337712/
2•jmsflknr•23m ago•0 comments

Young men in UK more likely than women to live with parents

https://www.theguardian.com/society/2025/jul/23/men-women-society-uk-housing-parents-women
3•PaulHoule•24m ago•0 comments

Guided Learning in Gemini: From answers to understanding

https://blog.google/outreach-initiatives/education/guided-learning/
2•xnx•24m ago•0 comments

Hulu Is Officially Ending as Disney Reveals New Streaming Plans

https://screenrant.com/hulu-disney-plus-merge-app-deleted/
2•trevin•25m ago•2 comments

Novo Nordisk's Growth Sputters as US Competition Dents Obesity Sales

https://www.bloomberg.com/news/articles/2025-08-06/novo-profit-misses-estimates-amid-us-obesity-market-competition
3•TMWNN•26m ago•1 comments

Windows Sandbox (W10 and W11) [video] for trying new software

https://www.youtube.com/watch?v=1jjGQCGHjuw
1•ngcc_hk•26m ago•0 comments

We're Building the Future of the Startup Economy with AI

https://www.angellist.com/blog/re-building-the-future-of-the-startup-economy-with-ai
2•Brajeshwar•27m ago•0 comments

Show HN: Manage all your tasks and teams directly from WhatsApp

https://done-copilot.com/
1•NinoMuna•27m ago•0 comments