New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider supporting XDG Base Directory or allowing for a definable directory. #1455
Comments
I'm not really sure how to apply that specification to rr. |
You can override the base directory by setting |
Yes, Environment variables which expose this kind of control is fine as well, so long as they're documented somewhere. This is another issue, but I can't seen to find any documentation for this setting, the Thanks :-) |
A default directory following XDG specification would be better! |
I'd accept a PR for that as long as the default directory for most users remains |
There was a followup 02e7d41 , but even after that the default changed from |
…CE_DIR`) per rr-debugger#1455 and the follow-up 02e7d41
In the struggle against dotfiles, a UNIXv2 bug, there have been a few efforts involving creating
LD_PRELOAD
hacks such as libetc and even FUSE filesystems such as rewritefs to combat the increasing complexity ofHOME
.The XDG Base Directory Specification was created by Waldo Bastian to address these issues on the Linux desktop much like OSX and Windows have their own schemes such as
Application Data
andLocal Application Data
which has existed since Windows 98. OSX providesHOME/Library
(barring/Library
and/System/Library
which are OSX-only).Although some people think that only a few support XDG Basedir or that only desktop applications are meant to make use of it, many low level projects such as
git
,util-linux
andjack
have since migrated to it along with most major software fromblender
tochromium
.Other older software also provides mechanisms which allows one to specify an alternative directory such as
gdb -nh -x "${XDG_CONFIG_HOME:-$HOME/.config}"/gdb/init
or environment variables such asELINKS_CONFDIR
,SLRNHOME
,GNUPGHOME
, etc.It would then be very nice if
rr
could support XDG Basedir (along with keeping legacyHOME/.rr
behaviour) or allowing users to specify alternative directories.Thanks
The text was updated successfully, but these errors were encountered: