summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-03-31 12:43:07 -0400
committerAmin Bandali <bandali@gnu.org>2020-03-31 12:43:07 -0400
commit89d937abcfe39193c9fc5409a379323392609eb7 (patch)
treee8c7ed74b882eb60ad76f8f7d9631167231cabc1 /.profile
parent5dfaee4cfda9940ddc3509ca696364495d064d3d (diff)
downloadconfigs-89d937abcfe39193c9fc5409a379323392609eb7.tar.gz
configs-89d937abcfe39193c9fc5409a379323392609eb7.tar.xz
configs-89d937abcfe39193c9fc5409a379323392609eb7.zip
shell: prevent crashing of non-Guix apps on foreign distros
Diffstat (limited to '.profile')
-rw-r--r--.profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.profile b/.profile
index 7b287dc..8df286c 100644
--- a/.profile
+++ b/.profile
@@ -60,6 +60,7 @@ if [ -z "$IS_GUIX_SYSTEM" ]; then
fi
GUIX_PROFILE="$HOME/.guix-profile"
. "$GUIX_PROFILE/etc/profile"
+ unset XDG_DATA_DIRS
fi
fi