aboutsummaryrefslogtreecommitdiff
path: root/user/zsh
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-09-30 18:44:39 +0200
committerMartin Fischer <martin@push-f.com>2026-10-17 11:50:04 +0200
commit6d1d806d8d7bf713b981391458edd3706decda4d (patch)
tree3331469a19de032aa280cb2613a1cc00350f00c8 /user/zsh
parent9d76c2354e580022d21170eb49d8394272eb9d51 (diff)
fix(workstation): use nix-direnv
nix-direnv isn't used automatically when installed, it needs to be sourced in direnvrc, which I was missing. Just enabling programs.direnv does this by default (programs.direnv.nix-direnv.enable defaults to true). This had caused gcroots to be broken for some reason. I'm removing user/direnv/direnv.toml because with programs.direnv it's not read anymore since the module sets DIRENV_CONFIG=/etc/direnv.
Diffstat (limited to 'user/zsh')
-rw-r--r--user/zsh/zshrc-workstation.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/user/zsh/zshrc-workstation.sh b/user/zsh/zshrc-workstation.sh
index a31627b..44be2d2 100644
--- a/user/zsh/zshrc-workstation.sh
+++ b/user/zsh/zshrc-workstation.sh
@@ -17,8 +17,6 @@ path+=$CARGO_HOME/bin
path+=$GOPATH/bin
path+=$NPM_CONFIG_PREFIX/bin
-eval "$(direnv hook zsh)"
-
function ssh() {
# When I ssh into a server my terminal changes to a host-specific background color via
# a LocalCommand configured in ~/.ssh/config and this ZSH function resets the color on exit.