diff --git a/bashrc.d/guix.bash b/bashrc.d/guix.bash new file mode 100644 index 0000000..ad66f9f --- /dev/null +++ b/bashrc.d/guix.bash @@ -0,0 +1,10 @@ +which guix 1>/dev/null +if [ $? -eq 0 ] ; then + if [ -d "$HOME/.config/guix/" ] ; then + GUIX_PROFILE="$HOME/.config/guix/current" + . "$GUIX_PROFILE/etc/profile" + else + echo "No current GUIX_PROFILE." + fi +fi +