-
Notifications
You must be signed in to change notification settings - Fork 29
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
Searching XDG directories for initialization files #19
Comments
I would be interested in implementing this feature. I am not a very competent C programmer, however I think implementing this would be a good way to understand the workings of real C codebases. Addressing the unresolved question you mentioned, here's what the XDG spec has to say:
We can use Looking at the original feature request. OP suggested putting the files in |
Thank you for participating. You can find the code here: Lines 259 to 348 in 75d0ddf
|
(Feature request migrated from https://osdn.net/projects/yash/ticket/46546)
It might be helpful if the shell honors the
$XDG_CONFIG_HOME
variable when looking for initialization scripts (profile and rcfile).Unresolved questions
$XDG_CONFIG_HOME
variable before the shell gets started? Typically, user-specified variables are set in the initialization scripts. It does not make sense for a script to set a variable that defines its own pathname.The text was updated successfully, but these errors were encountered: