Package Details: bash-xdg 5.1.016-1

Git Clone URL: (read-only, click to copy)
Package Base: bash-xdg
Description: The GNU Bourne Again shell - with improved Support for the XDG Base Directory Specification
Upstream URL:
Licenses: GPL
Provides: bash, sh
Submitter: brsvh
Maintainer: brsvh
Last Packager: brsvh
Votes: 1
Popularity: 0.000379
First Submitted: 2022-02-25 06:28 (UTC)
Last Updated: 2022-02-25 06:28 (UTC)

Dependencies (5)

Required by (4036)

Sources (20)

Latest Comments

CatRyBou commented on 2022-12-31 18:38 (UTC)

This doesn't work without modifying the PKGBUILD. In the prepare, build, and package functions, they reference a directory that doesn't exist 'bash-xdg-5.1'. You also need to add 16 more 'SKIP' into sha256sums.

Thaodan commented on 2022-11-26 15:52 (UTC)

Also the patch applied doesn't really provide XDG support.

Thaodan commented on 2022-11-26 15:52 (UTC)

Hey nice idea. I was looking at the files and saw that XDG_CACHE_HOME is used instead of XDG_STATE_HOME for histfile. Can you change that?

brsvh commented on 2022-02-25 06:42 (UTC)

By default, this package will hard code user-wide bash configure files to ~/.config/bash, which beneath bashrc, bash_profile, bash_login, and bash_logout.

If you want to customize them yourself, you need to edit PKGBUILD file to modify DEFAULT_BASHRC, DEFAULT_PROFILE, DEFAULT_BASH_PROFILE, DEFAULT_BASH_LOGIN, DEFAULT_BASH_LOGOUT. If you don't want to enable them, simply comment them out, and you will get the default bash without support XDG Base Directory.

NOTICE: If you have modified DEFAULT_BASH_HISTORY or DEFAULT_SH_HISTORY to other path, you need to make sure base directory of them have been created and base directory under /etc/skel needs install too, for new user first use, otherwise history file can not generate.