shells: direnv -> mise
This commit is contained in:
parent
ae084dbab3
commit
60958b6840
3 changed files with 8 additions and 4 deletions
dot_config
|
@ -20,7 +20,7 @@ if status is-interactive
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if command -q direnv
|
if command -q mise
|
||||||
direnv hook fish | source
|
mise activate fish | source
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
4
dot_config/mise/config.toml
Normal file
4
dot_config/mise/config.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[settings]
|
||||||
|
|
||||||
|
[settings.status]
|
||||||
|
show_env = true
|
|
@ -100,6 +100,6 @@ if testbin grc; then
|
||||||
unset cmds cmd
|
unset cmds cmd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if testbin direnv; then
|
if testbin mise; then
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(mise activate zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue