diff options
author | Graham Christensen <graham@grahamc.com> | 2018-09-01 16:38:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-01 16:38:44 -0400 |
commit | 367c484b641a07661079d24027cabf4f3308cb12 (patch) | |
tree | b599726d1d8db4ffcc409384202550821e63f6c8 /nixos/modules/programs/zsh/oh-my-zsh.xml | |
parent | 03b89e3031bb983fcc59a9f7794157e2e7b67102 (diff) | |
parent | 53c77e64fec665bbd2a807c5b3500912b7dad1f7 (diff) |
Merge pull request #45917 from grahamc/nixos-section-ids
Nixos docs: section ids
Diffstat (limited to 'nixos/modules/programs/zsh/oh-my-zsh.xml')
-rw-r--r-- | nixos/modules/programs/zsh/oh-my-zsh.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/programs/zsh/oh-my-zsh.xml b/nixos/modules/programs/zsh/oh-my-zsh.xml index b74da8630ee77..6567d4a42facd 100644 --- a/nixos/modules/programs/zsh/oh-my-zsh.xml +++ b/nixos/modules/programs/zsh/oh-my-zsh.xml @@ -10,7 +10,7 @@ to manage your <link xlink:href="https://www.zsh.org/">ZSH</link> configuration including completion scripts for several CLI tools or custom prompt themes.</para> -<section><title>Basic usage</title> +<section xml:id="module-programs-oh-my-zsh-usage"><title>Basic usage</title> <para>The module uses the <literal>oh-my-zsh</literal> package with all available features. The initial setup using Nix expressions is fairly similar to the configuration format of <literal>oh-my-zsh</literal>. @@ -32,7 +32,7 @@ For a detailed explanation of these arguments please refer to the configuration and writes it into your <literal>/etc/zshrc</literal>. </para></section> -<section><title>Custom additions</title> +<section xml:id="module-programs-oh-my-zsh-additions"><title>Custom additions</title> <para>Sometimes third-party or custom scripts such as a modified theme may be needed. <literal>oh-my-zsh</literal> provides the @@ -48,7 +48,7 @@ environment variable for this which points to a directory with additional script </programlisting> </para></section> -<section><title>Custom environments</title> +<section xml:id="module-programs-oh-my-zsh-environments"><title>Custom environments</title> <para>There are several extensions for <literal>oh-my-zsh</literal> packaged in <literal>nixpkgs</literal>. One of them is <link xlink:href="https://github.com/spwhitt/nix-zsh-completions">nix-zsh-completions</link> @@ -77,7 +77,7 @@ as it requires an immutable store path while <literal>custom</literal> shall rem will be thrown if both <literal>custom</literal> and <literal>customPkgs</literal> are set.</emphasis> </para></section> -<section><title>Package your own customizations</title> +<section xml:id="module-programs-oh-my-zsh-packaging-customizations"><title>Package your own customizations</title> <para>If third-party customizations (e.g. new themes) are supposed to be added to <literal>oh-my-zsh</literal> there are several pitfalls to keep in mind:</para> |