Hacker News new | ask | show | jobs
by s3m4j 2692 days ago
It's often worse on Windows, since dotfiles aren't hidden and meny dev tools assume they'll be running on *nix even when they support Windows. https://imgur.com/a/Im6G20B capture from my windows box of my $HOME.
2 comments

Plus if you try to rename a dotfile through explorer, it won't let you

Then if you try to make a dotfile through powershell, it has a different text encoding than *nix, which some programs (git) rely on

Plus if you try to rename a dotfile through explorer, it won't let you

It does, rename it .dotfile. so with an extra . at the end.

it has a different text encoding than nix,*

You don't specify how you do this, but most text output commands out there have an -Encoding parameter. Or else set it globally to what you want, good read here: https://stackoverflow.com/questions/40098771/changing-powers...

At least "My documents" is separate (as a subfolder) from %HOME isn't it?

(I never used MacOS, but from the article it seems not the case for MacOS?)

It's just ~/Documents, which I symlink to ~/Desktop so that if any asshole developer dumps a file into it I'll be able to see it and remove it immediatelty.