1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02:00

doc: fix highlighting of root commands

This commit is contained in:
Robert Helgesson 2020-05-08 00:01:58 +02:00
parent 1afa5e257b
commit 2434984336
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -159,7 +159,7 @@ $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
a Home Manager channel, for example
</para>
<screen>
<screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen>
@ -168,7 +168,7 @@ $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
if you are following Nixpkgs master or an unstable channel and
</para>
<screen>
<screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen>
@ -258,7 +258,7 @@ home-manager.useGlobalPkgs = true;
a Home Manager channel, for example
</para>
<screen>
<screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen>
@ -267,7 +267,7 @@ home-manager.useGlobalPkgs = true;
if you are following Nixpkgs master or an unstable channel and
</para>
<screen>
<screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen>