git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/oh-my-zsh: fix wrong manual information

Manual still refers to 'programs.ohMyZsh' although it should be 'programs.zsh.ohMyZsh'.

commit685c4f56083272594a53143c19c08906961c4b23 authorPablo Delgado Krämer <private@pablode.com> dateMon 17 Dec 2018, 19:11 (8 years ago) parentee82749
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>