4 ms·
dotfiles are pretty easy to move to a new server, no?
by VirusNewbie 1y ago
dotfiles are pretty easy to move to a new server, no?
- m463 1y agono. 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.
- deleted 1y ago[deleted]
- deathanatos 1y ago> 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.
- VirusNewbie 1y agoyeah, I think i'm with you, zsh and a moderately customized profile is more than enough.