config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 598c5f39195efc5c57ba92adb4eb9d4d66c4e5e9
parent 3b4c815b199a98b6e0c02986bc6c4b651b0b823d
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sat, 27 Mar 2021 04:16:02 -0700

Move shell modules to XDG_DATA_HOME

These shell modules seem like they should reside in XDG_DATA_HOME
rather than XDG_CONFIG_HOME, although I don't have an intuitive
sense of what XDG_DATA_HOME should contain.

Diffstat:
Mlocal/bin/.local/bin/include | 2+-
Rlocal/shell/.config/shell/aliases -> local/shell/.local/share/shell/aliases | 0
Rlocal/shell/.config/shell/cd -> local/shell/.local/share/shell/cd | 0
Rlocal/shell/.config/shell/etc -> local/shell/.local/share/shell/etc | 0
Rlocal/shell/.config/shell/fs -> local/shell/.local/share/shell/fs | 0
Rlocal/shell/.config/shell/gopher -> local/shell/.local/share/shell/gopher | 0
Rlocal/shell/.config/shell/hist -> local/shell/.local/share/shell/hist | 0
Rlocal/shell/.config/shell/mpc -> local/shell/.local/share/shell/mpc | 0
Rlocal/shell/.config/shell/openbsd -> local/shell/.local/share/shell/openbsd | 0
Rlocal/shell/.config/shell/xorg -> local/shell/.local/share/shell/xorg | 0
10 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/local/bin/.local/bin/include b/local/bin/.local/bin/include @@ -7,6 +7,6 @@ include() { for m in "$@" do - . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/$m" + . "${XDG_DATA_HOME:-$HOME/.local/share}/shell/$m" done } diff --git a/local/shell/.config/shell/aliases b/local/shell/.local/share/shell/aliases diff --git a/local/shell/.config/shell/cd b/local/shell/.local/share/shell/cd diff --git a/local/shell/.config/shell/etc b/local/shell/.local/share/shell/etc diff --git a/local/shell/.config/shell/fs b/local/shell/.local/share/shell/fs diff --git a/local/shell/.config/shell/gopher b/local/shell/.local/share/shell/gopher diff --git a/local/shell/.config/shell/hist b/local/shell/.local/share/shell/hist diff --git a/local/shell/.config/shell/mpc b/local/shell/.local/share/shell/mpc diff --git a/local/shell/.config/shell/openbsd b/local/shell/.local/share/shell/openbsd diff --git a/local/shell/.config/shell/xorg b/local/shell/.local/share/shell/xorg