21 lines
469 B
Nix
21 lines
469 B
Nix
|
|
# Carapace — multi-shell completion engine with Fish, Nushell, and Bash integration.
|
||
|
|
{
|
||
|
|
config,
|
||
|
|
lib,
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
with lib; let
|
||
|
|
cfg = config.base.cliTools.carapace;
|
||
|
|
in {
|
||
|
|
options.base.cliTools.carapace.enable = mkEnableOption "enable carapace completion engine";
|
||
|
|
|
||
|
|
config = mkIf cfg.enable {
|
||
|
|
programs.carapace = {
|
||
|
|
enable = true;
|
||
|
|
enableFishIntegration = true;
|
||
|
|
enableNushellIntegration = true;
|
||
|
|
enableBashIntegration = true;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|