From 01067990cce27b7af94506f583de025d28e31c1b Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 5 Sep 2021 12:06:19 -0500 Subject: Change bootstrapping method Now uses a script, ./bootstrap.sh, and a file, ./bootstrap.manifest. --- profile/profile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 profile/profile (limited to 'profile') diff --git a/profile/profile b/profile/profile new file mode 100644 index 0000000..7a86c76 --- /dev/null +++ b/profile/profile @@ -0,0 +1,17 @@ +# ~/.profile -*- sh -*- +# vim: ft=sh + +# XDG directories +export XDG_CONFIG_HOME="$HOME/etc" +export XDG_CACHE_HOME="$HOME/var/cache" +export XDG_DATA_HOME="$HOME/usr/share" + +export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" +export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}" + +# source files in $XDG_CONFIG_HOME/profile +if [ -d "$XDG_CONFIG_HOME/profile" ]; then + for file in "$XDG_CONFIG_HOME"/profile/*.sh; do + [ -r "$file" ] && . "$file" + done +fi -- cgit 1.4.1-21-gabe81