about summary refs log tree commit diff stats
path: root/bootstrap/profile
diff options
context:
space:
mode:
authorCase Duckworth2021-08-23 23:07:31 -0500
committerCase Duckworth2021-08-23 23:07:31 -0500
commite292eb508413b9174684a8e75c93474a7f5351ee (patch)
treee7e59b21c817bfd1c438ef3cfc68b9021e786d7c /bootstrap/profile
downloadetc-e292eb508413b9174684a8e75c93474a7f5351ee.tar.gz
etc-e292eb508413b9174684a8e75c93474a7f5351ee.zip
Initial
Diffstat (limited to 'bootstrap/profile')
-rw-r--r--bootstrap/profile17
1 files changed, 17 insertions, 0 deletions
diff --git a/bootstrap/profile b/bootstrap/profile new file mode 100644 index 0000000..4cb459d --- /dev/null +++ b/bootstrap/profile
@@ -0,0 +1,17 @@
1# profile
2# vim:ft=sh
3
4# XDG directories
5export XDG_CONFIG_HOME="$HOME/etc"
6export XDG_CACHE_HOME="$HOME/var/cache"
7export XDG_DATA_HOME="$HOME/usr/share"
8
9export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
10export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}"
11
12# source files in $XDG_CONFIG_HOME/profile
13if [ -d "$XDG_CONFIG_HOME/profile" ]; then
14 for file in "$XDG_CONFIG_HOME"/profile/*.sh; do
15 [ -r "$file" ] && . "$file"
16 done
17fi