fixes direnv shell hook
This commit is contained in:
parent
3d17ae369b
commit
acd1d6719e
2 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue