added direnv exec to the run and compile commands so zellij can see the direnv

This commit is contained in:
Lillian Violet 2024-10-16 22:32:19 +02:00
parent 20ae80fb0d
commit 7429a32a06

View file

@ -11,9 +11,9 @@
settings = { settings = {
# theme = "catppuccin_macchiato"; # Don't need this because the module themes it for us # theme = "catppuccin_macchiato"; # Don't need this because the module themes it for us
keys.normal.backspace = { keys.normal.backspace = {
b = ":run-shell-command zellij run -f -- just build"; b = ":run-shell-command zellij run -f -- direnv exec . just build";
r = ":run-shell-command zellij run -f -- just run"; r = ":run-shell-command zellij run -f -- direnv exec . just run";
t = ":run-shell-command zellij run -f -- just test"; t = ":run-shell-command zellij run -f -- direnv exec . just test";
g = ":run-shell-command zellij run -fc -- lazygit"; g = ":run-shell-command zellij run -fc -- lazygit";
f = ":run-shell-command zellij run -fc -- broot"; f = ":run-shell-command zellij run -fc -- broot";
}; };