fixes direnv shell hook

This commit is contained in:
Dennis Schoepf 2026-02-01 14:03:51 +01:00
parent 3d17ae369b
commit acd1d6719e
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,6 @@
{
programs.direnv = {
enable = true;
enableFishIntegration = true;
nix-direnv.enable = true;
};
}

View file

@ -214,6 +214,9 @@
setup_work
end
# Custom init
direnv hook fish | source
# Auto start tmux
if status is-interactive; and not set -q TMUX
if tmux list-sessions >/dev/null 2>&1