News for hackers. Stuff that matters.
Re:Dotfiles feel too intimate and personal to share by m463 on Wednesday August 06, 2025 @02:09PM (#44815559)
no. simple but complicated.

does the same .bash_profile/.bashrc work on different linux versions? what about macos? and now macos no longer uses bash. And what about saving .bash_history? and on and on.

there is a whole industry of shell scripts that try to help with this.

Re:Dotfiles feel too intimate and personal to share by deathanatos on Wednesday August 06, 2025 @07:44PM (#44819147)
> does the same .bash_profile/.bashrc work on different linux versions?

If we weight versions by likelihood of interacting with them, yes, they do.

> what about macos?

I handle macOS as a special case; it is not too difficult. Mostly, macOS boils down to "Get brew, download the GNU tools with brew, alias the commands to the GNU set", mostly because macOS's builtin tools are crap. The real problem is macOS, not the dotfiles, but many employers (including my own) force one to use macOS. It just not as big a special case as you're thinking.

> and now macos no longer uses bash.

… Apple hasn't updated bash in eons. Yeah, the default is now zsh, but I really hope one isn't just bumming along with bash 3.

And it's also reasonably easier to just use zsh everywhere. zsh is basically objectively superior.

> And what about saving .bash_history? and on and on.

Eh, I learn to love the bomb there.

> there is a whole industry of shell scripts that try to help with this.

There's definitely not.

Re:Dotfiles feel too intimate and personal to share by VirusNewbie on Thursday August 07, 2025 @12:31PM (#44826641)
yeah, I think i'm with you, zsh and a moderately customized profile is more than enough.