mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
mcfly: add option to enable fuzzy search
McFly 0.5.1 added support for fuzzy searching.
This commit is contained in:
parent
cb136f37c7
commit
2901044520
1 changed files with 10 additions and 0 deletions
|
@ -27,6 +27,14 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enableFuzzySearch = mkOption {
|
||||||
|
default = false;
|
||||||
|
type = types.bool;
|
||||||
|
description = ''
|
||||||
|
Whether to enable fuzzy searching.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
enableBashIntegration = mkOption {
|
enableBashIntegration = mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
@ -75,5 +83,7 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
(mkIf cfg.enableLightTheme { home.sessionVariables.MCFLY_LIGHT = "TRUE"; })
|
(mkIf cfg.enableLightTheme { home.sessionVariables.MCFLY_LIGHT = "TRUE"; })
|
||||||
|
|
||||||
|
(mkIf cfg.enableFuzzySearch { home.sessionVariables.MCFLY_FUZZY = "TRUE"; })
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue