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
|
||||
|
||||
if command -q direnv
|
||||
direnv hook fish | source
|
||||
if command -q mise
|
||||
mise activate fish | source
|
||||
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
|
||||
fi
|
||||
|
||||
if testbin direnv; then
|
||||
eval "$(direnv hook zsh)"
|
||||
if testbin mise; then
|
||||
eval "$(mise activate zsh)"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue