Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
e40
on Dec 29, 2020
|
parent
|
context
|
favorite
| on:
Using GNU Stow to manage your dotfiles (2012)
I've had my dotfiles in git for 7+ years. Work on Windows, Linux and macOS. Conditionalization in BASH is dead simple.
EDIT: 12+ years at work.
sooheon
on Dec 29, 2020
[–]
Yeah, it seems like keeping the cond inside the dotfiles, rather than in a dotfiles manager is the way to go.
devy
on Dec 29, 2020
|
parent
[–]
Can you share some of your setup there to exemplify? Thanks.
e40
on Dec 29, 2020
|
root
|
parent
[–]
I use $(uname -s) (Cygwin required on Windows) and dispatch on that. There's really nothing more than that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
EDIT: 12+ years at work.