1
0
Fork 0

shells: back to direnv

This commit is contained in:
Von Random 2025-05-31 23:11:29 +03:00
parent e810d90438
commit 2c417f5a51
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ if status is-interactive
end end
end end
if command -q mise if command -q direnv
mise activate fish | source direnv hook fish | source
end end
end end

View file

@ -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:*:processes-names' command 'ps axho command'
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
if testbin mise; then if testbin direnv; then
eval "$(mise activate zsh)" eval "$(direnv hook zsh)"
fi fi