From 60958b68406bd0295f1d5991a9e2fe3f9c218dfb Mon Sep 17 00:00:00 2001 From: Von Random <von@mechanus.net> Date: Tue, 18 Feb 2025 19:20:35 +0200 Subject: [PATCH] shells: direnv -> mise --- dot_config/fish/config.fish | 4 ++-- dot_config/mise/config.toml | 4 ++++ dot_config/zsh/functions.zsh | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 dot_config/mise/config.toml diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index 19acce1..1c40279 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 direnv - direnv hook fish | source + if command -q mise + mise activate fish | source end end diff --git a/dot_config/mise/config.toml b/dot_config/mise/config.toml new file mode 100644 index 0000000..5c62447 --- /dev/null +++ b/dot_config/mise/config.toml @@ -0,0 +1,4 @@ +[settings] + +[settings.status] +show_env = true diff --git a/dot_config/zsh/functions.zsh b/dot_config/zsh/functions.zsh index 50dcae8..ce842c1 100644 --- a/dot_config/zsh/functions.zsh +++ b/dot_config/zsh/functions.zsh @@ -100,6 +100,6 @@ if testbin grc; then unset cmds cmd fi -if testbin direnv; then - eval "$(direnv hook zsh)" +if testbin mise; then + eval "$(mise activate zsh)" fi