aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2019-02-24 20:40:45 +0100
committerRobert Helgesson <robert@rycee.net>2019-03-06 18:52:54 +0100
commita09196c4ae18195a2a8d11f6179e4b2e44430e62 (patch)
tree9749a00a5b7bd74feea1310e64e3544ee98d85c5 /doc
parent1d8997633c685f8b432da812efe157fdd25bc49b (diff)
docs: add language attribute to program listings
Diffstat (limited to 'doc')
-rw-r--r--doc/installation.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/installation.xml b/doc/installation.xml
index 835b69962f8..281f5067964 100644
--- a/doc/installation.xml
+++ b/doc/installation.xml
@@ -88,7 +88,7 @@
<para>
On NixOS you may need to log out and back in for the channel to become
available. On non-NixOS you may have to add
-<programlisting>
+<programlisting language="bash">
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
</programlisting>
to your shell (see
@@ -113,7 +113,7 @@ export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
If you do not plan on having Home Manager manage your shell configuration
then you must source the
</para>
-<programlisting>
+<programlisting language="bash">
$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
</programlisting>
<para>