From fcb95a7eec90172b745b054565de7575457ca561 Mon Sep 17 00:00:00 2001 From: Von Random <von@mechanus.net> Date: Wed, 19 Feb 2025 20:13:37 +0200 Subject: [PATCH] shells: get rid of direnv, work around dynamic vars with simple scripts --- dot_config/fish/config.fish | 4 ---- dot_config/zsh/settings.zsh | 4 ---- 2 files changed, 8 deletions(-) diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index e968416..1c40279 100644 --- a/dot_config/fish/config.fish +++ b/dot_config/fish/config.fish @@ -20,10 +20,6 @@ if status is-interactive end end - if command -q direnv - direnv hook fish | source - end - if command -q mise mise activate fish | source end diff --git a/dot_config/zsh/settings.zsh b/dot_config/zsh/settings.zsh index d32fcd1..8117577 100644 --- a/dot_config/zsh/settings.zsh +++ b/dot_config/zsh/settings.zsh @@ -44,10 +44,6 @@ zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} unalias ld ls ll &>/dev/null -if testbin direnv; then - eval "$(direnv hook zsh)" -fi - if testbin mise; then eval "$(mise activate zsh)" fi