mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 21:29:48 +01:00
zsh: fix zprof typo
This commit is contained in:
parent
e8dfd7c0d0
commit
43b4cd0637
1 changed files with 6 additions and 5 deletions
|
@ -253,6 +253,7 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(mkRenamedOptionModule [ "programs" "zsh" "enableSyntaxHighlighting" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
|
(mkRenamedOptionModule [ "programs" "zsh" "enableSyntaxHighlighting" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
|
||||||
|
(mkRenamedOptionModule [ "programs" "zsh" "zproof" ] [ "programs" "zsh" "zprof" ])
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
@ -356,10 +357,10 @@ in
|
||||||
description = "Enable zsh autosuggestions";
|
description = "Enable zsh autosuggestions";
|
||||||
};
|
};
|
||||||
|
|
||||||
zproof.enable = mkOption {
|
zprof.enable = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Enable zproof in your zshrc.
|
Enable zprof in your zshrc.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -541,9 +542,9 @@ in
|
||||||
++ optional cfg.oh-my-zsh.enable cfg.oh-my-zsh.package;
|
++ optional cfg.oh-my-zsh.enable cfg.oh-my-zsh.package;
|
||||||
|
|
||||||
home.file."${relToDotDir ".zshrc"}".text = concatStringsSep "\n" ([
|
home.file."${relToDotDir ".zshrc"}".text = concatStringsSep "\n" ([
|
||||||
# zproof must be loaded before everything else, since it
|
# zprof must be loaded before everything else, since it
|
||||||
# benchmarks the shell initialization.
|
# benchmarks the shell initialization.
|
||||||
(optionalString cfg.zproof.enable ''
|
(optionalString cfg.zprof.enable ''
|
||||||
zmodload zsh/zprof
|
zmodload zsh/zprof
|
||||||
'')
|
'')
|
||||||
|
|
||||||
|
@ -671,7 +672,7 @@ in
|
||||||
}
|
}
|
||||||
'')
|
'')
|
||||||
|
|
||||||
(optionalString cfg.zproof.enable
|
(optionalString cfg.zprof.enable
|
||||||
''
|
''
|
||||||
zprof
|
zprof
|
||||||
'')
|
'')
|
||||||
|
|
Loading…
Reference in a new issue