diff options
Diffstat (limited to 'src/profile.sh')
-rwxr-xr-x | src/profile.sh | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/profile.sh b/src/profile.sh index 12bd41c..b150d74 100755 --- a/src/profile.sh +++ b/src/profile.sh @@ -1,6 +1,10 @@ #!/bin/bash -. /usr/lib/colors.sh +. /usr/lib/colors.sh && + export HBAR_COMPLETE="-c ${GREEN}${BG_DEFAULT}" + +. /usr/lib/glyphs.sh + export CONF_FILE="/etc/xipkg.conf" export CURL_OPTS="-SsL" @@ -8,7 +12,13 @@ export CURL_OPTS="-SsL" export DEP_DIR=$(parseconf -v dir.deps) export REPOS=($(parseconf -v repos)) export SOURCES=($(parseconf sources.*)) + export PACKAGES_DIR=$(parseconf -v dir.packages) -export INSTALLED_DIR=$(parseconf -v dir.installed) +export INSTALLED_DIR=${SYSROOT}$(parseconf -v dir.installed) +export KEYCHAIN_DIR=$(parseconf -v dir.keychain) + +export CACHE_DIR=$(parseconf -v dir.cache) +export PACKAGE_CACHE="${CACHE_DIR}/packages" +export SYNC_CACHE="${CACHE_DIR}/sync" + -export TMP_DIR="/tmp/xi" |