6e7db900e0f6d652f24ad2c66ffb589a010f7417
- Author
- TheEdgeOfRage <git@theedgeofrage.com>
- Committer
- TheEdgeOfRage <git@theedgeofrage.com>
- Date
Message
Readd zsh additional env var templating
Diff
1diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
2index 9ed913726735a2901370293613316fdcfa6dc541..42c82841737b108e16ee898418022251795521d7 100644
3--- a/dot_zshrc.tmpl
4+++ b/dot_zshrc.tmpl
5@@ -54,8 +54,9 @@ if [ -z "${ZSH_ENV_SET}" ]; then
6 export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
7
8 # Additional env vars
9- export R2MOD_INSTALL_DIR="$HOME/games/steam/steamapps/common/Risk of Rain 2"
10- export R2MOD_COMPAT_DIR="$HOME/games/steam/steamapps/compatdata/632360"
11+ {{ range $entry := .zshrc.env_vars }}
12+ export {{ $entry.key }}="{{ $entry.val }}"
13+ {{ end }}
14
15 # Prevent zsh env vars from getting exported multiple times
16 export ZSH_ENV_SET="1"