git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #52485 from pablode/master

nixos/oh-my-zsh: fix wrong manual information

commit83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0 authorMaximilian Bosch <maximilian@mbosch.me> dateTue 18 Dec 2018, 23:18 (8 years ago) parent7e7ff8f685c4f5
1 file changed+4−4
nixos/modules/programs/zsh/oh-my-zsh.xml+4−4
nixos/modules/programs/zsh/oh-my-zsh.xml+4−4
@@ -19,7 +19,7 @@
1919 configuration format of <literal>oh-my-zsh</literal>.
2020<programlisting>
2121{
22− programs.ohMyZsh = {
22+ programs.zsh.ohMyZsh = {
2323 enable = true;
2424 plugins = [ "git" "python" "man" ];
2525 theme = "agnoster";
@@ -51,7 +51,7 @@
5151 The module can do this as well:
5252<programlisting>
5353{
54− programs.ohMyZsh.custom = "~/path/to/custom/scripts";
54+ programs.zsh.ohMyZsh.custom = "~/path/to/custom/scripts";
5555}
5656</programlisting>
5757 </para>
@@ -73,7 +73,7 @@
7373<programlisting>
7474{ pkgs, ... }:
7575{
76− programs.ohMyZsh.customPkgs = with pkgs; [
76+ programs.zsh.ohMyZsh.customPkgs = with pkgs; [
7777 pkgs.nix-zsh-completions
7878 # and even more...
7979 ];
@@ -87,7 +87,7 @@
8787
8888 <para>
8989 <emphasis>Please keep in mind that this is not compatible with
90− <literal>programs.ohMyZsh.custom</literal> as it requires an immutable store
90+ <literal>programs.zsh.ohMyZsh.custom</literal> as it requires an immutable store
9191 path while <literal>custom</literal> shall remain mutable! An evaluation
9292 failure will be thrown if both <literal>custom</literal> and
9393 <literal>customPkgs</literal> are set.</emphasis>