diff --git a/.profile b/.profile index 107fd22e..80eaed35 100644 --- a/.profile +++ b/.profile @@ -27,7 +27,7 @@ export GUIX_DISTRO_AGE_WARNING=1m # if command -v guix >/dev/null 2>&1; then # export GUIX_PACKAGE_PATH="$HOME/.guix-packages" # fi - for i in ~/.guix-extra-profiles/*; do +for i in ~/.guix-extra-profiles/*; do profile=$i/$(basename "$i") if [ -f "$profile"/etc/profile ]; then GUIX_PROFILE="$profile" ; . "$profile"/etc/profile @@ -37,7 +37,12 @@ export GUIX_DISTRO_AGE_WARNING=1m export XDG_CONFIG_DIRS="$profile"/etc/xdg:$XDG_CONFIG_DIRS fi unset profile - done +done + +## progress +if command -v progress >/dev/null 2>&1; then + export PROGRESS_ARGS="-a .emacs-$(emacs --version | awk '{print $3;exit}')-real" +fi ## Use this to override system executables. prependpath "${HOME}/personal/hackpool"