Skip to content

Commit

Permalink
feat(aider): only get openai api key when launching aider
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborpilz committed Sep 24, 2024
1 parent 11a8776 commit ec28983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/modules/tools/aider.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ in
];

modules.shell.zsh.aliases = {
aider = "OPENAI_API_KEY=$(pass ${cfg.passApiKey}) aider";
aider = "eval 'OPENAI_API_KEY=\\$(pass ${cfg.passApiKey}) aider'";
};
};
}

0 comments on commit ec28983

Please sign in to comment.