about summary refs log tree commit diff stats
path: root/profile
diff options
context:
space:
mode:
authorCase Duckworth2021-09-05 12:06:19 -0500
committerCase Duckworth2021-09-05 12:07:10 -0500
commit01067990cce27b7af94506f583de025d28e31c1b (patch)
tree326acef39b1956003a2555ff405fe082098901a0 /profile
parentSearch multiple files for __git_ps1 function (diff)
downloadetc-01067990cce27b7af94506f583de025d28e31c1b.tar.gz
etc-01067990cce27b7af94506f583de025d28e31c1b.zip
Change bootstrapping method
Now uses a script, ./bootstrap.sh, and a file, ./bootstrap.manifest.
Diffstat (limited to 'profile')
-rw-r--r--profile/profile17
1 files changed, 17 insertions, 0 deletions
diff --git a/profile/profile b/profile/profile new file mode 100644 index 0000000..7a86c76 --- /dev/null +++ b/profile/profile
@@ -0,0 +1,17 @@
1# ~/.profile -*- sh -*-
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