aedff2c22633fed9406862b1ba276f69b148b534
- Author
- TheEdgeOfRage <git@theedgeofrage.com>
- Committer
- TheEdgeOfRage <git@theedgeofrage.com>
- Date
Message
Add bun bin to PATH
Diff
1diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
2index a4655c863a7fede1d267a99b97df451bbcd2f4dc..3e42fe57da2e692e1a666478583380eaf0455227 100644
3--- a/dot_zshrc.tmpl
4+++ b/dot_zshrc.tmpl
5@@ -44,15 +44,14 @@ set_env() {
6 export TERMINAL="ghostty"
7 export LANG="en_US.UTF-8"
8 export LC_ALL="en_DK.UTF-8"
9- export PATH="$HOME/.local/bin:$PATH:$GOBIN:$HOME/.cargo/bin:$HOME/.local/share/nvim/mason/bin"
10+ export PATH="$HOME/.local/bin:$PATH:$GOBIN:$HOME/.cargo/bin:$HOME/.local/share/nvim/mason/bin:$HOME/.cache/.bun/bin"
11 export XDG_CONFIG_HOME="$HOME/.config"
12 export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
13-
14+{{ if and (hasKey . "zshrc") (kindIs "map" .zshrc) (hasKey .zshrc "env_vars") }}
15 # Additional env vars
16- {{ if and (hasKey . "zshrc") (kindIs "map" .zshrc) (hasKey .zshrc "env_vars") }}
17- {{ range $_, $env := .zshrc.env_vars }}export {{ $env.name }}="{{ $env.value }}"
18- {{ end -}}
19- {{- end -}}
20+{{ range $_, $env := .zshrc.env_vars }} export {{ $env.name }}="{{ $env.value }}"
21+{{ end -}}
22+{{- end -}}
23 }
24
25 # oh-my-zsh