Nushell is the only interactive shell now. base.shell.fish.enable stays as a deprecated no-op with a warning, because AZ-NIX-CLIENTS and AZ-NIX-SERVERS still set it and would otherwise fail to evaluate after a lock update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
504 B
Nix
21 lines
504 B
Nix
# Carapace — multi-shell completion engine with Nushell and Bash integration.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.base.cliTools.carapace;
|
|
in {
|
|
# Enabled by default — base modules are always-on.
|
|
options.base.cliTools.carapace.enable = (mkEnableOption "enable carapace completion engine") // {default = true;};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.carapace = {
|
|
enable = true;
|
|
enableNushellIntegration = true;
|
|
enableBashIntegration = true;
|
|
};
|
|
};
|
|
}
|