Earlier quoted context omitted.
What the heck are you talking about? The XDG basedir spec is three variables. The user dir spec is more but those are not environement variables.
https://pastebin.com/raw/iUrtcySi You're welcome.
Use the XDG Base Directory Specification
181–190 of 214 posts
Re: Use the XDG Base Directory Specification
#182Earlier quoted context omitted.
That is a better default than a hidden directory. It is obvious and so you can set GOPATH Also works better on Windows where .path is not hidden Also it seems Rob Pike one of the creators of Go and involved with early UNIX thinks that . making hidden files was a mistake. Quote via XahLee http://xahlee.info/UnixResource_dir/writ/unix_origin_of_dot_... - original was Google+ so not existing now.
I hate it when I forget to show hidden files on mac. They had a kb shortcut for it
Re: Use the XDG Base Directory Specification
#183Re: Use the XDG Base Directory Specification
#184I strongly disagree: the dot files cause very little inconvenience because they’re typically hidden and they’re easier to type and list than the XDG spec stuff
The hidden part is another usability mistake, but the main benefit of XDG is respecting user's choice who can set an env var to avoid the mess, hope you wouldn't disagree with an option the improves someone's life without affecting yours in any way?
Re: Use the XDG Base Directory Specification
#185Re: Use the XDG Base Directory Specification
#186Earlier quoted context omitted.
https://pastebin.com/raw/iUrtcySi You're welcome.
So that's not any fault of XDG, that's you forcing applications to use it when they apparently don't support it natively. That's either 15 or 19 lines of application bugs.
Re: Use the XDG Base Directory Specification
#187Yeah, we have a straightforward and widely established standard. Just put the related files in .programname . Now let's bikeshed and scatter them randomly across several places. To make it more fun let's make those locations programmable with environment variables so you won't even know where to start looking for a particular related file. Add lots of categories to create ambiguity. Make some of the default locations…
"Now"? The initial draft of the XDG Base Directory Specification was published in 2002.
I don't my backups to include gigabytes of worthless cache files. I want them isolated somewhere, anywhere, so they can be easily excluded in my backup scripts.
Re: Use the XDG Base Directory Specification
#188Earlier quoted context omitted.
The hidden part is another usability mistake, but the main benefit of XDG is respecting user's choice who can set an env var to avoid the mess, hope you wouldn't disagree with an option the improves someone's life without affecting yours in any way?
The convention of hiding files starting with a dot is not a usability mistake. It’s a usability improvement.
Also, fun historical fact: it was a bug when it was implemented https://linux-audit.com/linux-history-how-dot-files-became-h...