From 2b187e3b62f108ff01829660fa7ff6f603a99259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 23 Feb 2020 14:03:04 +0100 Subject: [PATCH] zsh: Fix setting of machine specific env --- zsh/zprofile.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 9ea7578..4aa81c4 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -58,3 +58,7 @@ if [[ -z $DISPLAY ]] ; then tmux new-session -A -s tmux-tty-$XDG_VTNR fi fi + +{% for k, v in machine.environment.items() %} +export {{ k }}="{{ v }}" +{% endfor %}