summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-09-27 16:28:54 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-09-27 16:28:54 -0400
commit08b1447f345cc4a31971918237d605fc4e407fa2 (patch)
tree5f6ba00ec3aaddc85b322f5a5ad3e51aa5c47b00
parent49c7d248ccea64f9d62f988c46530dbb2135270d (diff)
Setup: Clear *all* XDG variables, not just XDG_CONFIG_DIR
-rwxr-xr-x.local/bin/setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/setup b/.local/bin/setup
index ee8d0d7..09ce159 100755
--- a/.local/bin/setup
+++ b/.local/bin/setup
@@ -2,7 +2,7 @@
HOME = $(shell cd "$(dir $(lastword $(MAKEFILE_LIST)))" && git rev-parse --show-toplevel)
export HOME
-undefine XDG_CONFIG_DIR
+$(foreach v,$(filter XDG_%,$(.VARIABLES)),$(eval undefine $v))
LANG = C
export LANG