about summary refs log tree commit diff stats
path: root/bash
diff options
context:
space:
mode:
authorCase Duckworth2021-08-24 23:19:35 -0500
committerCase Duckworth2021-08-24 23:19:35 -0500
commitdde4412bf0e6c82aba818658a8e36d44f30c8433 (patch)
treea3e5de70f2946425b3622e63568962c54e3b21a7 /bash
parentInitial (diff)
downloadetc-dde4412bf0e6c82aba818658a8e36d44f30c8433.tar.gz
etc-dde4412bf0e6c82aba818658a8e36d44f30c8433.zip
Ensure GUIX_PROFILE/etc/profile is readable before sourcing
Diffstat (limited to 'bash')
-rw-r--r--bash/guix.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/guix.bash b/bash/guix.bash index 127afef..c259e5a 100644 --- a/bash/guix.bash +++ b/bash/guix.bash
@@ -1,3 +1,4 @@
1export GUIX_PROFILE="$HOME/.config/guix/current" 1export GUIX_PROFILE="$HOME/.config/guix/current"
2 2
3. "$GUIX_PROFILE/etc/profile" 3[ -r "$GUIX_PROFILE/etc/profile" ] &&
4 . "$GUIX_PROFILE/etc/profile"