bash: removed recently-added XDG_* environment variables after more discussion

There are plenty of options for them such as pam_env, pam_xdg, or
manual configuration.
This commit is contained in:
Matt Housh 2022-08-02 14:48:51 -05:00
parent 4c7d5853df
commit e49a43ea03
3 changed files with 4 additions and 20 deletions

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqv5KdFe3yDOO6/h0VMLayohWKSRlS3heDH9vIaQTJBvj2zXc4tEANmZVFMIstwsJEY/Lk61ptuZUvvVQF/0Gpg8=
SHA256 (Pkgfile) = 62ba1e9cf6a2a0f6d6394aec699950e3e6a0450bb9e9e7fc2d79a96989760efa
RWRJc1FUaeVeqtC4qarT5J/k6I3PbqS5pgo7iMOO6vpKfN+QnW242KlG/QI1znivtZTgyWca+XRLU2CS26d+SyKElWbyK/zmigc=
SHA256 (Pkgfile) = 7c9616783b7746d75eacbb17c3cafea274949a582d3a929498fb5f4472e35c5f
SHA256 (.footprint) = 01ad0142672053f07bc5f2c5e481cb8cde032296c7eb3ff97334d626dce4f45c
SHA256 (bash-5.1.tar.gz) = cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa
SHA256 (bash-5.1.16.patch.gz) = 13e56e287db6b14a578cad25499b078210549989c529acd5328a9d4ef921a9d5
SHA256 (profile) = 2418c0b9aca39b8f5f51234dbe98e71c66e646ad808f2a500ae7457071e88800
SHA256 (profile) = f02c2c8893d8c80f441d6b717cbbb56a93b724396697526c1cf4536b62ff9bfe

View File

@ -5,7 +5,7 @@
name=bash
version=5.1.16
release=2
release=3
source=(https://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz
$name-$version.patch.gz profile)

View File

@ -4,22 +4,6 @@
export PATH="/sbin:/usr/sbin:/opt/sbin:/bin:/usr/bin:/opt/bin"
export XDG_RUNTIME_DIR=/run/user/${UID}
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.local/cache
export XDG_DATA_HOME=$HOME/.local/share
export XDG_STATE_HOME=$HOME/.local/state
[[ ! -e "$XDG_STATE_HOME" ]] && mkdir -p "$XDG_STATE_HOME"
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
#export XDG_DESKTOP_DIR=$HOME/Desktop
#export XDG_DOCUMENTS_DIR=$HOME/Documents/
#export XDG_MUSIC_DIR=$HOME/Music
#export XDG_PICTURES_DIR=$HOME/Pictures/
#export XDG_VIDEOS_DIR=$HOME/Videos/
#export XDG_DOWNLOAD_DIR=$HOME/Downloads/
#export XDG_TEMPLATES_DIR=$HOME/
#export XDG_PUBLICSHARE_DIR=$HOME/
[[ ! -f ~/.inputrc ]] && export INPUTRC="/etc/inputrc"
export LESS="-R"