patchThe GNU Bourne-Again SHell - Patches: patch #10431, Add XDG Base Directory fallbacks...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #10431: Add XDG Base Directory fallbacks for Bash startup files

Submitter:  90 <ninety>
Submitted:  Fri 26 Jan 2024 07:11:11 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Postponed Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 26 Jan 2024 07:13:13 PM UTC, comment #1: 

To reiterate what was said prior in the linked support post, this patch adds the discussed XDG fall-backs for all of .bash_profile, .bash_login, .bashrc and .bash_logout. While their legacy paths are still prioritised to not subvert existing expectations, they all now have the option to be moved to an $XDG_CONFIG_HOME/bash directory without needing to be dotfiles.

The only one that does not have such a fall-back defined for it is .bash_history due to the need to preserve the existing HISTFILE default. Ideally, this would have been migrated to something like $XDG_STATE_HOME/bash/history, however users are free to set this as their HISTFILE if they so choose to.

90 <ninety>
Fri 26 Jan 2024 07:11:11 PM UTC, original submission:  

Slightly updated version of the patch submitted in sr #108134, uploaded to the appropriate place this time around under an account.

90 <ninety>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #55618:  XDGbasedir.patch added by ninety (4KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by ninety (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-02-02 chet StatusNone Postponed
    2024-01-26 ninety Attached File- Added XDGbasedir.patch, #55618

    Back to the top

    Powered by Savane 3.13.
    Corresponding source code