modue stuff
This commit is contained in:
parent
48c4ac4f59
commit
fe7d13fcb9
1 changed files with 4 additions and 4 deletions
|
|
@ -99,23 +99,23 @@
|
||||||
configFile = tomlFormat.generate "llm-shell-hint-config" cfg.settings;
|
configFile = tomlFormat.generate "llm-shell-hint-config" cfg.settings;
|
||||||
in
|
in
|
||||||
lib.mkIf cfg.enable {
|
lib.mkIf cfg.enable {
|
||||||
home.packages = [ self.packages."${system}".llm-shell-hint ];
|
home.packages = [ self.packages."${system}".default ];
|
||||||
|
|
||||||
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
|
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
|
||||||
${
|
${
|
||||||
lib.getExe self.packages."${system}".llm-shell-hint
|
lib.getExe self.packages."${system}".default
|
||||||
} init bash --config-file "${configFile}" | source
|
} init bash --config-file "${configFile}" | source
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.zsh.initExtra = mkIf cfg.enableZshIntegration ''
|
programs.zsh.initExtra = mkIf cfg.enableZshIntegration ''
|
||||||
${
|
${
|
||||||
lib.getExe self.packages."${system}".llm-shell-hint
|
lib.getExe self.packages."${system}".default
|
||||||
} init zsh --config-file "${configFile}" | source
|
} init zsh --config-file "${configFile}" | source
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration ''
|
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration ''
|
||||||
${
|
${
|
||||||
lib.getExe self.packages."${system}".llm-shell-hint
|
lib.getExe self.packages."${system}".default
|
||||||
} init fish --config-file "${configFile}" | source
|
} init fish --config-file "${configFile}" | source
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue