From 2c417f5a5102689eeefcd7113cd1744c4ae4e2bb Mon Sep 17 00:00:00 2001 From: Von Random Date: Sat, 31 May 2025 23:11:29 +0300 Subject: [PATCH] shells: back to direnv --- dot_config/fish/config.fish | 4 ++-- dot_config/zsh/settings.zsh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index 354d6e1..64c922f 100644 --- a/dot_config/fish/config.fish +++ b/dot_config/fish/config.fish @@ -20,7 +20,7 @@ if status is-interactive end end - if command -q mise - mise activate fish | source + if command -q direnv + direnv hook fish | source end end diff --git a/dot_config/zsh/settings.zsh b/dot_config/zsh/settings.zsh index 2c84d33..9ea054c 100644 --- a/dot_config/zsh/settings.zsh +++ b/dot_config/zsh/settings.zsh @@ -43,6 +43,6 @@ zstyle ':completion:*:kill:*:processes' command 'ps --forest -A -o pid,user,cmd' zstyle ':completion:*:processes-names' command 'ps axho command' zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} -if testbin mise; then - eval "$(mise activate zsh)" +if testbin direnv; then + eval "$(direnv hook zsh)" fi