enable carapace command-line completion
This commit is contained in:
@@ -12,6 +12,7 @@ in
|
|||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
|
carapace.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.cli.shell.carapace;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.cli.shell.carapace = {
|
||||||
|
enable = lib.mkEnableOption "carapace completer";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
my.hm = {
|
||||||
|
programs.carapace = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user